On Mon, 20 Jun 2022, Elijah Stone wrote:
Actually, it needs to be a suffix. That's the issue.
7 9 ''}i.2 2
Thinking about the issue a little bit more: using an empty list for m, it
could have been intended as an array of k-indices for any k<$$y, meaning that
the shape of the result from indexing could be any prefix of $y. So if
0-:*/$m, then the amend is legal (and a no op) if and only if +./($x) E.
($m),}.$y.
Thoughts?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm