On Fri, Mar 13, 2009 at 1:05 PM, Tracy Harms <[email protected]> wrote: > Thank you so much for that post, Raul. It greatly helps me bridge the > gulf between thinking-in-J and thinking-in-Haskell. My sense is that > you've gotten this right.
Actually, another poster (Aai) has corrected me. &&& would be better modeled in J using AAA=: 2 :0 (u y) ,&< v y : (x u y) ,&< x v y ) It should be obvious how to "get fork-like behavior" from this, but basically the "middle tine verb" would need to be applied against the two results from &&&. Or maybe, since Haskell deals with multiple argument issues differently from J, I should have said: AAA=: 2 :0 (u y) ,&< v y ) -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
