On Oct 20, 1:25 am, Alex Osborne <[email protected]> wrote:
> Because cons always creates a list (which construct at the front), while
> conj "adds" it in the natural (ie fastest) way for that collection type,
> vectors "add" at the end.

In fact, all the generic sequence functions (cons, concat, map,
distinct, filter, take, drop, ...) coerce their arguments to lazy
sequences, and return lazy sequences.  A sequence is not necessarily a
list, although both are printed in parentheses.

-SS
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to