>
> you *must* preserve laziness whenever applicable, but you *may not* take 
> advantage of it by assuming any guarantees.
>
>
> Erm - I certainly hope that this isn't true. Otherwise, I wouldn't be able 
> to write:
>
> (take 10 (repeatedly 0))
>
> Because, without *some* guarantees, it might never terminate and/or 
> consume all memory.
>

Exactly :) I have tried in vain to find any official statement on this. 
Throughout the API documentation you'll find guarantees such as "preserves 
laziness", "returns a lazy sequence", but nowhere do I find any commitment 
at all to the content of that term. 

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to