On Wed, Dec 26, 2012 at 6:28 PM, Tom Jack <t...@tomoj.la> wrote: > A small bug in ClojureScript was related to this: > https://github.com/clojure/clojurescript/commit/88b36c177ebd1bb49dbd874a9d13652fd1de4027 > > It looks like the only thing missing to make Cons implement IPersistentList > is IPersistentStack. Why not implement it?
This seems very weird to me: > (list? (cons 1 '())) false Especially since: > (list? (empty (cons 1 '()))) true making list? true of cons cells would presumably also eliminate the need for those awkward (apply list ...)s in, e.g., clojure.walk/walk. -- Ben Wolfson "Human kind has used its intelligence to vary the flavour of drinks, which may be sweet, aromatic, fermented or spirit-based. ... Family and social life also offer numerous other occasions to consume drinks for pleasure." [Larousse, "Drink" entry] -- 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 Note that posts from new members are moderated - please be patient with your first post. 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