Hi Eliot, all,
What happens if we send an unclean block to a clean block as an argument?
I guess the answer is: nothing, it doesn't affect the definition of being a clean block; the blocks have independent static chains (outer/home) (I just want to be sure).
Example:
[:aBlock | aBlock value] isClean " --> true "
[:aBlock | aBlock value] value: [^2] " --> this will return from inside a clean block "
A more complicated example; define:
cleanExample: aBlock
[:block | block value] value: aBlock.
And then run:
self cleanExample: [^2] " --> this will return from inside a clean block inside a method "
Thanks,
Jaromir
--
Jaromír Matas
mail(a)jaromir.net