The answer I think is that dyad +. is GCD on non-boolean inputs, and so the expression [EMAIL PROTECTED] is really not-GCD instead of equivalent to not-or.
----- Original Message ---- From: bill lam <[EMAIL PROTECTED]> To: Programming forum <[email protected]> Sent: Monday, October 9, 2006 1:33:27 AM Subject: Re: [Jprogramming] domain for dyad +: and *: bill lam wrote: > For both J504 and J601, it seems dyad +: and *: only accept boolean domain. Is > this the intended? > > [EMAIL PROTECTED]/~ 0 1 2 > 1 0 _1 > 0 0 0 > _1 0 _1 > +:/~ 0 1 2 > |domain error > | +:/~0 1 2 > [EMAIL PROTECTED]/~ 0 1 2 > 1 1 1 > 1 0 _1 > 1 _1 _1 > *:/~ 0 1 2 > |domain error > | *:/~0 1 2 > Sorry, I meant can it be extended to mean [EMAIL PROTECTED] and [EMAIL PROTECTED] -- regards, bill ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
