[Jprogramming] "under" rank
Henry Rich
HenryHRich at nc.rr.com
Thu Jan 19 11:13:07 HKT 2006
> Then I have one more question. verb v has its own rank. and what
> happens when I do apply rank adverb with infinity as v"_? Which rank
> has higher priority, between v's original and newly applied one? In
> case of +, it seems +"_ is after all interpreted as +, of which rank
> is 0. What about other cases?
The other part you got right, but here you have a common
misunderstanding.
v"_ is NOT 'v with the rank changed to infinity'. v"_ is
a new verb, whose rank is infinite; it applies v to cells
of its operand.
As an exercise, work out why you get the following result:
0 1 2 ,"0"0 _ (3 4 5)
0 3
0 4
0 5
1 3
1 4
1 5
2 3
2 4
2 5
Henry Rich
> ----------------------------------------------------------------------
> For information about J forums see
> http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list