In addition to the other comments, I'd like to point out that each &.>
It'd be odd for "each" to work with monads but not dyads. ----- Original Message ----- From: John Randall <[EMAIL PROTECTED]> Date: Tuesday, November 4, 2008 18:02 Subject: [Jprogramming] Applying a dyad inside boxes To: Programming forum <[email protected]> > I often want to define a dyad with boxed arguments, and end up writing > something like > > f=:4 : '<(>x) -. > y' > > and using it for example as > > 2 f/\ 1 2 3; 2 3; 1 2 > +-+-+ > |1|3| > +-+-+ > > While I can obviously write f tacitly, say as > > g=:<@:(>@:[ -. >@:]) > > it feels far less natural than the way J handles monads in boxes > using u&.> . > > Is there a better way? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
