On Nov 14, 5:48 pm, Chouser <[EMAIL PROTECTED]> wrote:
> On Fri, Nov 14, 2008 at 3:51 PM, Bradbev <[EMAIL PROTECTED]> wrote:
>
> > (which will convert it from lazy to ...?  Hmm, what's the
> > word - motivated?)
>
> I think the word you want is "eager"
>
> http://www.zazzle.com/i_get_more_done_when_im_lazy_clojure_shirt-2355...
>
NOO... not another Clojure shirt (shrieks my wallet)

Thanks for the example -- was puzzled by it for a couple of minutes,
but now it makes sense: (map ...) produces a lazy result, and so dref
does not get evaluated until (println dref). Displaying dref before
the doseq results in dref being fixed to '(0 1 2 ... 9) no matter what
is done to refs

--
Michel
--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to