On Mon, Aug 29, 2011 at 9:29 AM, Stéphane Ducasse <[email protected]> wrote: > Halt ifTrue: [a = 2]. > > two questions in my questions :) > [] and True:
why would you need a block here? The expression is going to be evaluated once and only once: if the expression is true than a debugger pops up otherwise nothing happens. #if is shorted than #ifTrue and closer to English: "please halt if the variable a equals 2" -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry
