On Dec 6, 2008, at 10:52 PM, Mark Engelberg wrote:

Except your version of filter doesn't do any filtering on the rest in
the case where the first satisfies the predicate.

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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to