2011/10/8 Björn Helgason <gos...@gmail.com>: > (- ^: (trigger */@:-.@e.~ ])^:_ ) 2 3 5 7 > 2 3 5 7 > (- ^: (trigger */@:-.@e.~ ])^:_ ) 33 > > goes into a seemingly endless loop
Of course. The sequence generated looks like this:' 33 _33 33 _33 33 _33 ... (with each subsequent value on a different line.) The loop terminates when the result list contains (presumably) a 2 or a 5. How long do imagine it will need to run, before a 2 or a 5 is generated? -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm