If I create a new sequence by adding data to an existing one, does Clojure allow the two sequences to share data as opposed to copying the original sequence? For example,
(def coll1 [1 2]) (def coll2 (cons 3 coll1)) Does coll2 share the data in coll1 or have a copy of it? I'm guessing the answer is yes, but I couldn't find it in writing and want to be sure. -- R. Mark Volkmann Object Computing, Inc. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---