On 9/11/07, Mark D. Niemiec <[EMAIL PROTECTED]> wrote:
> The only exception that I know of is with ?. which pretends to be
> a rank-0 verb, but actually behaves like a rank-_ verb:

This is not a rank issue -- it's a state issue.

Here's an analogous mechanism, where we play with global state:

example=:3 :0"0
  if.0~:4!:0<'seed'do.seed=:1 end.
  9!:27'0 0$4!:55<''seed'''
  9!:29]1
  seed=:seed+1
)
   example 3 3$0
2 3  4
5 6  7
8 9 10
   example 2 2$0
2 3
4 5

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

Reply via email to