[Jprogramming] gotcha/mini bug with {.

bill lam bbill.lam at gmail.com
Sat Apr 23 02:11:16 UTC 2016


This is a feature. {. returns the first item (or fill), since
i.3 is rank-1, its items are scalars.

Пт, 22 апр 2016, jprogramming написал(а):
> (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

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3


More information about the Programming mailing list