Aug. 16, 2010
6:28 p.m.
"Hernan" == Hernan Wilkinson <hernan.wilkinson@gmail.com> writes:
Hernan> whileTrue: aBlock Hernan> self value ifTrue: [ Hernan> aBlock value. Hernan> thisContext restart ] That's an interesting implementation, but the current implementation is clean, and is there only because #perform: has to be able to do it. Maybe this definition could be added as a comment to the method though, to show how you would do it *if* it wasn't inlined. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion