On 5/27/08, Dan Bron <[EMAIL PROTECTED]> wrote:
> So   >@:{:@:p.@:-   ?

Thanks, I had forgotten about the monad p.

But, I think I would use
pIntr=: 1 {:: [: p. -/@,:

For example:
   1 1 pIntr 1 2 1
_1 0
   1 1 p. _1 0
0 1
   1 2 1 p. _1 0
0 1

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to