Alexander Semenov <bohtva...@gmail.com> writes:

> The second lazy approach still needs to traverse all the sequence
> recursively, why doesn't it cause stack overflow?

You might find my answer to the StackOverflow question "Thinking in Lazy
Sequences" useful here:

  http://stackoverflow.com/a/2214049/31818

Note that I wrote it about a year and a half ago. I hope the references
to the Java classes are still correct.

-- 
Steven E. Harris

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