[squeak-dev] Lazy evaluation?

Randal L. Schwartz merlyn at stonehenge.com
Sat Jul 9 17:44:31 UTC 2011


>>>>> "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.

-- 
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 mailing list