clojure.core/rest¶
Returns a possibly empty seq of the items after the first. Calls seq on its argument.
Examples¶
Note by steveminer¶
rest is generally preferred over next. See the Clojure.org documentation on writing lazy functions.
Also, the topic is covered on StackOverflow.com: rest vs. next.
See also¶
- clojure.core/next (2)
- clojure.core/first (2)
- clojure.core/drop (2)
- clojure.core/pop (2)
- clojure.core/nthrest (4)
- clojure.core/nthnext (2)
Content from the matching ClojureDocs page, with authors credited on each contribution.