There are two ways to deal with this:

A=: 2 :’(u@v) :( u v)’

B=: 2 :(‘u@v y’;’:’;’x ( u v)y’)

(But please fix the quotes — I am composing this on a phone which insists
on mangling my quotes.)

Anyways—you can either resolve this tacitly or explicitly, but mixing them
... acutually, I am slightly surprised you didn’t get the nomadic
definition. I suppose that’s because conjunctions are themselves dyadic, in
a sense...

Thanks,

—
Raul

On Saturday, October 6, 2018, 'Pascal Jasmin' via Programming <
[email protected]> wrote:

> a =: 2 : ('u@v';':';'u v')
>    a2 : 0u@v:u v)
> so far so good...
>   - a +- +
> it just assumes that result expression is dyadic
> workaround is to use tacit version of : in return value of a, but this
> doesn't seem like it is working right.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to