coprime2 =. 1:=+. Ah, of course. I forgot about +. (I thought it was only logical or)
> Date: Sun, 15 Jun 2014 10:19:44 -0600 > From: [email protected] > To: [email protected] > Subject: Re: [Jprogramming] Coprime Dyadic Verb > > Haven't been following this thread very closely. Been distracted. This > should be simpler and faster. > > coprime2 =. 1:=+. > > > On Sun, Jun 15, 2014 at 8:23 AM, 'Pascal Jasmin' via Programming < > [email protected]> wrote: > > > Its rare to forget that adverbs and conjunctions are greedy to the left. > > The mistake I make regularly is forgetting that conjunctions are not greedy > > to the right. > > > > > > ----- Original Message ----- > > From: Ric Sherlock <[email protected]> > > > > try: > > coprime =. =&0@:(+/)@:(e.&q:) > > > > the adverb / is greedy and will try and make the verb to the left as big as > > possible. > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
