On Sep 3, 1:13 am, Sudish Joseph <sud...@gmail.com> wrote:
> The other solutions seem higher level, but it's worth noting that
> destructuring -- (let [[x & xs] lst] ...) -- uses next and is therefore
> not fully lazy in that you will peek ahead by one into the lazy
> sequence, so to speak.  You have to use explicit first / rest to get
> that:
[snip...]

Thanks everyone. I like the contrib version particularly.

Regarding eagerness of let: now that you mention it I recall that from
a recent thread.

http://groups.google.com/group/clojure/browse_frm/thread/32ff3ca7e2649867/ba0aa1edf7cfaeb1?hl=en

I think '&&' would be a nice addition.

/Karl
--~--~---------~--~----~------------~-------~--~----~
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