It might be better to link to the main Clojure github repo for viewing the source in case things have changed since some random fork...
https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/Cons.java https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/PersistentList.java On Fri, Jun 24, 2011 at 6:53 PM, Tamreen Khan <[email protected]> wrote: > This stackoverflow page seems to have some info that might > help: http://stackoverflow.com/questions/3008411/clojure-seq-cons-vs-list-conj > Source for > Cons: https://github.com/hiredman/clojure/blob/master/src/jvm/clojure/lang/Cons.java > Source for > PersistentList: https://github.com/hiredman/clojure/blob/master/src/jvm/clojure/lang/PersistentList.java > > From looking at the source it looks like one major difference between Cons > and PersistentList is that Cons can have anything that implements ISeq for > _rest while PersistentList must have another PersistentList. -- 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
