| protocol | since v0.0-1424 | Edit |
ArrayNodeSeq ChunkedCons ChunkedSeq Cons Cycle EmptyList IndexedSeq IntegerRange Iterate KeySeq LazySeq List NodeSeq PersistentArrayMapSeq PersistentQueueSeq PersistentTreeMapSeq RSeq Range Repeat ValSeqProtocol for accessing the next items of a collection.
(defprotocol INext
(^clj-or-nil -next [coll]
"Returns a new collection of coll without the first item. In contrast to
rest, it should return nil if there are no more items, e.g.
(next []) => nil
(next nil) => nil"))