On Thu, Jul 30, 2009 at 6:31 PM, Zsbán Ambrus<[email protected]> wrote: > That can be used as an optimization, but it can't handle the case of > the left tine being a proverb for cap, so the execution of a fork has > to check for that case anyway.
Oh, right, i forgot about that case. The logical approach here would be in an error handler -- check if it's an error caused by [: in the left tine and use the alternate logic if so. But this would still not be a side effect -- it depends on a side effect (changing the definition of the name of the left verb) and thus is not referentially transparent but that's not the same thing. http://en.wikipedia.org/wiki/Side_effect_(computer_science) -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
