You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 13, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -403,6 +403,10 @@ is equivalent to
403
403
404
404
except that no new list structure is created. See `collector-contents` for a function which does not update the tail pointer.
405
405
406
+
**`collector-empty-p`** returns true if its argument is a collector which is empty (note it doesn't perform any check that the argument actually is a valid collector object).
407
+
408
+
**`pop-collector`** returns the first element of a collector, and alters it so that the second element is now the first element. It can be used to use collectors like queues.
409
+
406
410
### Notes on explicit collectors
407
411
Surprising things can happen if you share a single list between more than one collector without copying it:
0 commit comments