On Nov 22, 7:31 pm, "Christian Vest Hansen" <[EMAIL PROTECTED]> wrote: > With (vec) I think:http://clojure.org/api#toc508
That's not really efficient as it copies the whole seq. It seems that relative to sequences the other data structures are second class insofar as when you use the sequence library (i.e. most of Clojure's functions), there is no way back other than making copies. "(conj (vec (map identity [1 2 3])) 4)" looks rather silly to me and while it's inefficiency might be tolerable on small vectors it becomes an issue with bigger ones. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---