I like the idea of dyad -. but to me a more readable (or, conversely, expressive) would be
(-. [:,*/~)@(2+i.) Relation of -. adics 1 2 3 4 -. 2 4 6 1 3 1 2 3 4 ([ #~ [EMAIL PROTECTED]) 2 4 6 1 3 --- Henry Rich <[EMAIL PROTECTED]> wrote: > -.~/@(|. */ >:)@:>:@:i. > > Henry Rich > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of John Randall > > Sent: Friday, April 04, 2008 5:44 PM > > To: General forum > > Subject: Re: [Jgeneral] How readable is J? > > > > > 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 . ____________________________________________________________________________________ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
