I wrote:
>   sr   =:  (&=)`(,:&)}    
>   @:D.1

I should also point out the modern equivalents of these are:
   
   sr   =:  2 : '(m&=)`(,:&n)}'
   'u@:vD.1'

respectively, since the decommissioning of the trains table (in J5).

-Dan

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

Reply via email to