From: Pit Capitain Date: 2005-11-04T16:42:57+09:00 Subject: Re: [ANN] lazy.rb MenTaLguY schrieb: > I've got an 0.0 release of lazy.rb, an implementation of lazy evaluation > for Ruby, up here: > > http://moonbase.rydia.net/software/lazy/ > > It provides two functions: promise (like R5 Scheme's delay) and force > (just as in Scheme). > > promise takes a block to evaluate later; as an aid to circular > programming, the block's result is passed to it as a parameter. > > force is used to force the value of a promised computation. > > Some attempts have been made to support implicit forcing through the use > of SimpleDelegator, but with only mixed success so far. Hi mental, do you have some unit tests or an example where implicit forcing isn't working as you'd like? Regards, Pit