boolean / each boxed_list in APL should work as that is parsed as (boolean/) each boxed_list . It is more telling if you have to select differently in each box. Then you can not do (x0;x1;x2)/each y0;y1;y2 because it is parsed as ((x0;x1;x2)/) each y0;y1;y2 . With # this is no problem: (x0;x1;x2)#each y0;y1;y2 works fine.
----- Original Message ----- From: Chris Burke <[EMAIL PROTECTED]> Date: Saturday, October 7, 2006 5:22 pm Subject: Re: [Jgeneral] J for functional programmers > dly wrote: > > I believe there is probably a good reason why J does not map this > > function to the verb / and does map it to # but right now I > cannot tell > > what that reason would be. If someone knows and would like to > enlighten> me I would appreciate it and feel free to mock me for > being so dense > > while you are about it. > > APL uses / as both a function and an operator. This is a mistake, and > for example, leads to problems when using / in function > composition. I > don't have an APL interpreter to hand, but seem to remember that you > could not do something like "boolean / each boxed_list", for this > reason. > The J # is similar to the APL function /, while J / is similar to the > APL operator /. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
