On Sun, Feb 14, 2010 at 9:43 AM, Ian Clark <[email protected]> wrote: > Does anyone have a really good example of using a constant function > (e.g. 0: 1: ...) where it is actually necessary? > Gene McDonnell uses a lot of them in At Play With J, but in the > examples I've tried, 0 works just as well as 0: ...and so on.
After At Play With J was written, J was changed so that expressions of the form (NOUN VERB VERB) would be treated as if they were the fork (NOUN"_ VERB VERB). In other words, 0 is a constant function in the examples you were suggesting. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
