From: James Edward Gray II Date: 2006-02-20T07:06:51+09:00 Subject: Re: [ANN] lazy.rb 0.9.5 -- transparent futures! On Feb 18, 2006, at 7:07 PM, MenTaLguY wrote: > = Futures > > Futures are blocks of code that are evaluated immediately, but in a > background thread. > > x = future { 3 + 5 } > > p x # => #> > > # You could do other stuff here while > # the computation ran in the background > > # blocks until the background thread completes > p x * 3 # => 24 > > p x # => 8 > > Again, silly for 3 + 5 perhaps, but I'm sure you can see how this > might > come in handy for more involved computations. Wow, that is just super studly! > == What happened to lazy streams from 0.2? > > I ditched the lazy streams API for now. It just wasn't working out. Can you expand on what you mean by this? I'm working on a huge article about infinite streams for my blog and lazy.rb 0.2 was a big inspiration to me. James Edward Gray II