> I believe that it's telling me that combining verbs and nouns at the
> top level of an array is illegal. If I am wrong about that, I would
> like to know what the actual issue is.

Does that surprise you?

   ( T=. 3 3 $ '.' ; 0 ; 0 ; 0)
┌─┬─┬─┐
│.│0│0│
├─┼─┼─┤
│0│.│0│
├─┼─┼─┤
│0│0│.│
└─┴─┴─┘

   ;T
|domain error
|       ;T

On Thu, Dec 30, 2021 at 4:12 PM Raul Miller <[email protected]> wrote:
>
> On Thu, Dec 30, 2021 at 3:10 PM Jose Mario Quintana
> <[email protected]> wrote:
> >   ( A=. 3 3 $ [: 1&o. (0) (0) (0)]: )
> > ┌────┬────┬────┐
> > │1&o.│0   │0   │
> > ├────┼────┼────┤
> > │0   │1&o.│0   │
> > ├────┼────┼────┤
> > │0   │0   │1&o.│
> > └────┴────┴────┘
> >
> >    ;A
> > |domain error
> > |       ;A
> >
> > Enough said?
>
> That is helpful, but it's not enough.
>
> I believe that it's telling me that combining verbs and nouns at the
> top level of an array is illegal. If I am wrong about that, I would
> like to know what the actual issue is.
>
> But what about examples involving S:0 or L:0?
>
> Thanks,
>
> --
> Raul
> ----------------------------------------------------------------------
> 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