> Dan Bron wrote:
>      (#~ ] -.@:e. [: , */~)@:(2 + i.)

If the goal were readability, I would write

(#~ (-.@:e. ,@:(*/~)))@:(2 + i.)

This consistently uses f@:g rather than mixing in [: f g, and clearly
displays two hooks, one of which (#~ f) is a standard idiom.  I am
also not clear on the merits of ] f g .

Best wishes,

John


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

Reply via email to