On Nov 9, 5:39 pm, David Brown <[email protected]> wrote:
>
> (let-map [x [31 41 59 26]
> y (iterate inc 1)]
> (+ x y))
>
> Probably not that interesting in the simple case.
How is this different from using for? It's also lazy and supports
destructuring.
(for [x [31 41 59 26]
y (iterate inc 1)]
(+ x y))
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
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
-~----------~----~----~----~------~----~------~--~---