Promises

Bert Freudenberg bert at impara.de
Fri Nov 4 12:25:18 UTC 2005


Am 04.11.2005 um 12:45 schrieb David T. Lewis:

> On Thu, Nov 03, 2005 at 07:52:31PM -0800, Andreas Raab wrote:
>> Oh, and I think this example is extremely badly chosen. A better one
>> would be something like:
>>
>>      "Create a new TSpace"
>>      (island future new: TSpace) whenComplete:[:space|
>>        "Create a new TFrame"
>>        (island future new: TFrame) whenComplete:[:frame|
>>          "Add TFrame to TSpace"
>>          space future addChild: frame.
>>        ].
>>      ].
>>
>
> Thanks for the example. Now I can understand why this is important.

Indeed. E has extensive literature about these concepts. See, for  
example, http://www.erights.org/elib/distrib/pipeline.html

- Bert -




More information about the Squeak-dev mailing list