(] : ;) will link arguments if called dyadically or return y if monad.
3 ] : ; 2;3
┌─┬─┬─┐
│3│2│3│
└─┴─┴─┘
(1;3) ] : ; 2;3
┌─────┬─┬─┐
│┌─┬─┐│2│3│
││1│3││ │ │
│└─┴─┘│ │ │
└─────┴─┴─┘
] : ; 2;3
┌─┬─┐
│2│3│
└─┴─┘
a typical way to turn some verbs (that operate on boxed args) from monad to
ambivalent is the adverb
@:(,&boxopen)
the above is an alternative which may do what you want sometimes.
(1 2;3) #leaf @:(] : ;) 2 1 ;3 2 3
┌─────┬─┬─┐
│┌─┬─┐│2│3│
││2│1││ │ │
│└─┴─┘│ │ │
└─────┴─┴─┘
(1 2;3) #leaf @:(,&boxopen) 2 1 ;3 2 3
┌─┬─┬─┬─┐
│2│1│2│3│
└─┴─┴─┴─┘
#leaf @:(] : ;) 2 1 ;3 2 3
┌─┬─┐
│2│3│
└─┴─┘
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm