Well put. Let's see if I can unravel this mystery:
onion =: [: ((0 -.@:e. $)&> # {.&.>) |.@:|:@:}.&.>^:a: @: <
s =: $ /:@;@(onion)@i. NB. onion is a verb, so no <
s 4 5
0 1 2 3 4
13 14 15 16 5
12 19 18 17 6
11 10 9 8 7
<snip terrible pun>
-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
