"metaperl.j" <[EMAIL PROTECTED]> wrote:
> }. drops the leading item of its argument.
>
> But in this case, I am wondering what exactly is returned when beheading an
> atom.
>
> I know the items of an atom is that atom. But what is left when it is
> dropped? A rank-0 array with shape 0?

Most J verbs with infinite rank treat arrays as list whose items are
arrays of one rank lower.

Such verbs generally treat the degenerate case (atoms) as if they
were one-atom lists.

So }.0 is interpreted as }.,0 and 1,2 is interpreted as (,1),(,2).

-- Mark D. Niemiec <[EMAIL PROTECTED]>



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to