Le 12/09/2015 18:20, Mark Rizun a écrit :
    Need to keep all those snipets somewhere. And I think the chapter in
    Pharo for the enterprise does not explain well the conditional stuff
    in { }.


I always forget the syntax of writing condition on nodes :)

I was missing the fact that the condition apply to the previous pattern variable?

Conditions are very convenient, however, to execute code during the matching part of the rewrite. Especially code with side effects ;)

Thierry

Reply via email to