`doall` will force the realization of any provided lazy sequence, e.g.:

(doall (map fn coll))

- Chas

On Nov 15, 2011, at 11:52 AM, labwor...@gmail.com wrote:

> I understand that lazy sequences are very useful but sometimes, I want to 
> compute everything, go away, and have it there when I come back. 
> How do I do that with a map? 
> (def x (map fn coll))
> 
> -- 
> 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 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