As far as I can tell

u/ y <=> foldr1 u y (in Haskell).

-/ i.4 => -2

foldr1 (-) [0..3] => -2

I can also do foldl1 as u~/

What I don't understand is the speed difference(huge) between

,/ i.1000000

and

,~/ i.1000000
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to