[squeak-dev] Continuations

Lukas Renggli renggli at gmail.com
Wed Mar 11 19:42:13 UTC 2009


> I still don't understand where the "nil" comes form, though.

When you evaluate a continuation the current computation is *aborted*
and the captured one is *resumed*.

Thus, when evaluating

    c2 := c value: 15

no assignment to c2 happens and the variable remains what it was before (nil).

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch



More information about the Squeak-dev mailing list