On Wed, Nov 10, 2010 at 6:14 AM, Raul Miller <[email protected]> wrote:
>   ]"1 b.0
> 1 1 1
>   ]"_1 b.0
> _ _ _

That alone wouldn't be bad if it's documented, but

   f=: ;"_1 1
   'ab' f i.2 3
+-+-----+
|a|0 1 2|
+-+-----+
|b|3 4 5|
+-+-----+
   'ab' ]...@f i.2 3
+-+-----+
|a|0 1 2|
+-+-----+
|b|0 1 2|
+-+-----+

+-+-----+
|a|3 4 5|
+-+-----+
|b|3 4 5|
+-+-----+
   f b. 0
1 _ 1

(On j602-64 amd64-linux.)

I hereby propose that this behaviour is changed so that the rank of f
above is considered either (1 _1 1) or (1 _ _) -- while calling the
verb as a diad should still behave the same as it does now.

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

Reply via email to