Re: sequence rest and next

2010-09-03 Thread Meikel Brandmeyer
Hi, On 3 Sep., 11:16, Abraham Varghese wrote: > I cannot understand between  ( next aseq)   and ( rest aseq) ... next will realise the first item of the rest of aseq, while rest will not. You can always express next in terms of rest: (defn next [s] (seq (rest s))) Sometimes you can also e

sequence rest and next

2010-09-03 Thread Abraham Varghese
I cannot understand between ( next aseq) and ( rest aseq) ... Thanks AV -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patien