item stream | [Function] |
item stream &key :kill :chord :rest | [Function] |
Returns two values, the next item from the item stream stream and the state of the stream after the item was read. As with all multiple values in Lisp, this second value may be ignored.
Within an algorithm macro, item supports the additional keyword arguments :kill, :chord and :rest which have the following meaning:
Example:
? (setf x (items foo bar)) #<CYCLIC-ITEM-STREAM 133134441> ? (item x) FOO NIL ? (item x) BAR :END-OF-PERIOD
See Also:
doitems, Item Streams, read-items