From: Jim Weirich Date: 2003-04-12T08:53:20+09:00 Subject: Re: splat question On Fri, 2003-04-11 at 16:17, Mauricio Fern�ndez wrote: > > It's just one of those things from functional programming that I don't see > > how to do in Ruby. > > This sounds like lazy evaluation, the kind of stuff you can find around > implemented with continuations. You just need closures to do lazy evaluation ... See http://w3.one.net/~jweirich/talks/invitationtoruby/lazydemo.html No continuations required. -- -- Jim Weirich jweirich@one.net http://w3.one.net/~jweirich --------------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)