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]
- Bert -