function list* doesn't return a list, because it uses 'cons' under the hood:
(list? (list* 1 2 3 '())) ;=> false (class (list* 1 2 3 '())) ;=> clojure.lang.Cons ...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." I think that this can be pretty confusing... Shouldn't it be fixed (at least the docstring)? Cheers, Marek. -- 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