OK, I understand the difference in behavior between the two maps. But why is chunked-seq? incorrect?
user> (take 1 (map #(do (print ".") [%]) (range 100))) (................................[0]) user> (chunked-seq? (range 100)) false user> (chunked-seq? (map #(do (print ".") [%]) (range 100))) false user> (chunked-seq? (take 1 (map #(do (print ".") [%]) (range 100)))) false The implementation of chunked-seq? checks to see if the sequence is an instance of clojure.lang.IChunkedSeq. That doesn't appear to be sufficient in the case of map taking one collection. Also, Chas Emerick stated in another discussion that ranges always produce chunked seqs, but the value of (chunked-seq? (range 100)) seems to belie that. Mike -- 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