[squeak-dev] Lazy evaluation?
frank.shearar at gmail.com
Sat Jul 9 17:52:02 UTC 2011
On 9 July 2011 18:44, Randal L. Schwartz <merlyn at stonehenge.com> wrote:
>>>>>> "Frank" == Frank Shearar <frank.shearar at gmail.com> writes:
> Frank> That paper will mention the basic technique of lazy evaluation in a
> Frank> strict language, which is just wrapping an expression up in a block:
> Frank> [self myExpression: param and: thatParam]
> Frank> Now you can pass that block - thunk - around, and evaluate it only
> Frank> when required.
> There's also the whole "futures" thing. I think that's even close to
> being in Squeak core.
That's already in there - look at FutureMaker and, more importantly, FutureNode.
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
> <merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
> See http://methodsandmessages.posterous.com/ for Smalltalk discussion
More information about the Squeak-dev