> I guess that is ok, but then I don't understand why this happens: 
   (1 |. 2= ] &>) +:@]^:[  &>  ;/ 1 2 3 2 2 4 2 1 
0 0 0 0 0 0 1 1 

compared to the expected:

  > ((1 |. 2= ] &>) +:@]^:[ &> ])  ;/ 1 2 3 2 2 4 2 1 
2 2 6 4 2 8 2 1 




I figured out that in the first form, ^:[ is applied monadically first, and 
then the left verb is applied to the result.  As opposed to the fork evaluation 
order.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to