Well, part of the puzzle is to figure out why filter works just fine on the output of the range function, but not on the output of the map function.
I'm starting to wonder whether there might be a fundamental bug in the java implementation of LazyCons. Maybe it doesn't implement "first" correctly? On Sat, Dec 6, 2008 at 7:59 PM, Stephen C. Gilardi <[EMAIL PROTECTED]> wrote: > Right. It's looking to me now like this may have to be solved in Java. I > don't see how to write this in Clojure without retaining "coll" through the > entire implementation of filter--including the call to (filter pred (rest > coll)) and that's enough to make it fail. > --Steve > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---