clojure.core/next¶
Returns a seq of the items after the first. Calls seq on its argument. If there are no more items, returns nil.
Examples¶
Note by steveminer¶
(next aseq) === (seq (rest aseq))
When writing lazy sequence functions, you should use rest, not next.
See also¶
- clojure.core/rest (6)
- clojure.core/first (2)
- clojure.core/fnext
- clojure.core/nthrest (4)
- clojure.core/nthnext (2)
Content from the matching ClojureDocs page, with authors credited on each contribution.