({. -: 0&{) y

I believe this holds for any y, except if:

(0 = {.@$) y    NB.  the first dimension of y is empty

Then, according to the dictionary, this holds for any y whatsoever:

({. -: 0 { 1 {. ]) y

Louis

> On 22 Apr 2016, at 22:30, 'Pascal Jasmin' via Programming 
> <[email protected]> wrote:
> 
> (1 {. ]) is not the same as {.
> 
> $ 1 {. i.3
> 
> 1
> 
> #@$  {. i.3
> 0
> ----------------------------------------------------------------------
> 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