[Jprogramming] bug in j806 (I think) ambivalent explicit conjunction

Raul Miller rauldmiller at gmail.com
Sun Oct 7 06:09:38 UTC 2018


There are two ways to deal with this:

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

B=: 2 :(‘u at 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 <
programming at jsoftware.com> wrote:

> a =: 2 : ('u at v';':';'u v')
>    a2 : 0u at 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


More information about the Programming mailing list