On 4/22/07, Henry Rich <[EMAIL PROTECTED]> wrote:
When x in x { y is boxed, it allows much more complex
processing (you'll get to that later). Since boxes are
atoms, { applies each box of x individually, hence is
left rank 0.
The case when x is not boxed is a special case, but the
verb still has the left rank 0.
Given the way { is implemented, I think it would make
more sense if { had a left rank of 1, and a definition like
<"[EMAIL PROTECTED] from ]
where from is the current implementation of the { dyad.
(This would imply using {"0 _ to get the current behavior).
That said, the backwards compatability issues are daunting,
and the payoff for this change seems trivial in comparison.
Besides... indexing items probably is the typical case.
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm