You forgot to bracket +/ On Jan 30, 2014 9:09 AM, "Pascal Jasmin" <godspiral2...@yahoo.ca> wrote:
> 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 > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm