Have you ever written code using @., as in u`v @. w, where the ranks of the
results of u and v differ from one another (for a given rank of x/y)? If so,
can you post a self-contained snippet? (Don't worry about being runnable; I
just want to get a general idea of the code patterns.)
Further stipulations:
- Should not rely on boxing (incidental use of boxes, eg as record types, is ok)
- Equivalent use of explicit control structures or u^:p (for predicate noun or
verb p) is ok
Also interested in usage of / or folds where the accumulator rank changes over
time (especially if it continues to change after the 1st iteration).
Thanks!
-E
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm