Is there a way to set the rank of the resulting verb of a conjunction? A bit
surprisingly, this workaround does not work:
t=: 2 : '(u@:v)"1'
] t+/ 3 3 $ i.9
9 12 15
result desired:
]@:+/"1 ] 3 3 $ i.9
3 12 21
Ideally, it should be possible to set rank like:
t =: 2 : 0 ("1)
...
)
I guess this is another reason to support the (a c) and (c a) trains, where
(A1 A2 c A3) -: u A1 A2 c v A3
but is there any workaround for setting the rank of a conjunction?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm