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
