Re: Lazy Seq and refs

2008-11-15 Thread Michael Wood
On Fri, Nov 14, 2008 at 10:51 PM, Bradbev <[EMAIL PROTECTED]> wrote: > > I thought up an interesting issue the other night. If you map a > function over a seq of refs, then change the refs & look at the map > return value (which will convert it from lazy to ...? Hmm, what's the > word - motivate

Re: Lazy Seq and refs

2008-11-14 Thread Michel Salim
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_w

Re: Lazy Seq and refs

2008-11-14 Thread Chouser
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-235544064302391169 --Chouser --~--~--

Lazy Seq and refs

2008-11-14 Thread Bradbev
I thought up an interesting issue the other night. If you map a function over a seq of refs, then change the refs & look at the map return value (which will convert it from lazy to ...? Hmm, what's the word - motivated?) then you will get the current value of the refs. The example code is (def