[squeak-dev] Thoughts about Cog and "tracing" etc
Igor Stasenko
siguctua at gmail.com
Thu Jun 25 09:52:15 UTC 2009
2009/6/25 Bert Freudenberg <bert at freudenbergs.de>:
>
> Am 25.06.2009 um 10:44 schrieb Igor Stasenko:
>>
>> Or, better, replace a 'loop' as a cornerstone of design, with tail-call :
>>
>> whileTrue: aBlock
>> [ self value ] whileTrue: [ aBlockValue]
>
>
> You mean
>
> whileTrue: aBlock
> self value ifTrue: [
> aBlock value.
> self whileTrue: aBlock]
>
Yes.
> - Bert -
>
>
--
Best regards,
Igor Stasenko AKA sig.
More information about the Squeak-dev
mailing list
|