On Wed, Sep 16, 2009 at 1:39 AM, Oleg Kobchenko <[email protected]> wrote: > You need to understand that J behavior is as expected: > when you say in 'base': > > *: A_N1_ 5 > > This means: evaluate A in N1, return the resulting verb > back into 'base' and apply that verb to 5 in 'base'.
I think I disagree with you you have expressed this concept. If I have defined: coclass'N1' fun=:3 :0 2*y ) A=:1 :0 smoutput coname'' u fun y ) *:A_N1_ 5 +----+ |base| +----+ |value error: fun Conceptually speaking, Matthew's request could be thought of as "in J, how do we define the noun `this` which would let us access other members of the current function's locale. this=. coname'' will obviously not accomplish this. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
