Mutliple Return Values [was: Re: Why we should remove {} from Squeak]

Tim Olson tim at jump.net
Thu Oct 4 00:43:27 UTC 2001


>...and, please don't overlook:
>
>	originalTree splitBefore: splitBlock
>		beforeAndAfter: [:tree1 :tree2 | ...]
>
>When I need this kind of multiple return,
>this is my choice for how to do it.

In the Scheme world this is known as the "Continuation Passing Style" 
(CPS)

http://entropy.uark.edu/~jdfulto/cps.html



     -- tim






More information about the Squeak-dev mailing list