Hi,

Am 31.12.2010 um 19:57 schrieb Mike K:

> In 1.2, I don't understand why one of the sequences below is chunked,
> but the other is not.  Also, chunked-seq? seems to be lying about the
> second one.
> 
> user> (take 1 (map #(do (print ".") [% %2]) (range 100) (range 100)))
> (.[0 0])
> user> (take 1 (map #(do (print ".") [%]) (range 100)))
> (................................[0])
> user> (chunked-seq? (map #(do (print ".") [%]) (range 100)))
> false

For map with multiple input sequences all sequences would probably be have to 
be chunked with the same chunk size. So instead of checking this, map produces 
for multiple input sequences a non-chunked seq.

Sincerely
Meikel

-- 
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

Reply via email to