the conceptional differences between collection and sequences are confusing quite a bit. A nice wrap up by Tim McCormack can be found here:
http://www.brainonfire.net/files/seqs-and-colls/main.html (via Sean Corfield) -fb Am Sonntag, 31. März 2013 14:58:15 UTC+2 schrieb Alice: > > On http://clojure.org/lazier, > > Changed: (rest aseq) - returns a logical collection (Sequence) of > the remaining items, not (necessarily) a seq > > rest simply calls RT.more and here's the code of RT.more: > > static public ISeq more(Object x){ > if(x instanceof ISeq) > return ((ISeq) x).more(); > ISeq seq = seq(x); > if(seq == null) > return PersistentList.EMPTY; > return seq.more(); > } > > So, it seems to return just a seq and not some logical collection? > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
