Markus Schmidt-Groettrup wrote:
>  impressive to me is the cartesian product
>     cartesian =: ,"_ _1 "_1 _

Do you find it more or less impressive that J has a primitive for cartesian 
product?

    cart =:  {@:,&.<

The monad  {  is neat but this formulation doesn't demonstrate the 
loop-abstraction that yours does.

-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to