On Oct 3, 7:57 pm, Chouser <[EMAIL PROTECTED]> wrote:
> prunedtree in IRC reported a stack overflow with this 
> code:http://paste.lisp.org/display/67882
>
> I was able to trim this down and still reproduce the error:
>
> (dorun (for [i (range 10000) j nil] 1))
>
> It turns out that "for" and "lazy-cat" interact badly in this
> degenerate case.  Having "for" use "recur" instead of "lazy-cat" in
> such cases seems to fix the problem.  Patch is attached.
>

Patch applied - thanks!

Rich

--~--~---------~--~----~------------~-------~--~----~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to