>>>>> "Hernan" == Hernan Wilkinson <[email protected]> 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 <[email protected]> <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 _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
