Remember clojure, like other lisps, is homoiconic: the program code
itself is clojure data. Lists are very common in clojure, since a list
is is used in the function invocation syntax, e.g. (inc 0).

Otherwise, used as a general purpose lists have the same benefits of
linked lists over arrays that they would in any other programming
language: O(1) insertion at the head, O(1) deletion, etc.

Trevor

On Fri, May 15, 2009 at 3:36 PM, Vagif Verdi <vagif.ve...@gmail.com> wrote:
>
> What are the use case scenarios where one is preferable to the other
> in clojure ?
>
> It looks to me like vectors almost completely overtake lists for all
> purposes.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to