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? On Wednesday, December 26, 2012 4:13:38 PM UTC-6, Ben wrote: > > On Wed, Dec 26, 2012 at 2:07 PM, Stephen Compall > <stephen...@gmail.com <javascript:>> wrote: > > On Wed, 2012-12-26 at 12:35 -0800, Marek Šrank wrote: > >> ...however, its docstring says: "Creates a new list containing the > items > >> prepended to the rest, the last of which will be treated as a > sequence." > > > > List is almost always colloquial, not literally IPersistentList. > > > > I would be in favor of eliminating list?, really, in favor of > > seq?/sequential?/seqable?. > > Given that lists and (e.g.) vectors behave differently in some > circumstances (as the first argument to conj, for instance), it seems > desirable to be able to tell what one's got on one's hands. > > -- > 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