Actually I just some weeks ago discovered monad { and now it took me a quite a while to see how your nice expression work.
Might be we should have a  cartesian product competition!

My favorite ,"_ _1 "_1 _ is due to the fact, that I began to understand the rank conjunction with this expression.

Regards, Markus

(actually I just today discovered your question!)

Dan Bron schrieb:
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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to