This looks like a regression in j901.
NB. j602
   a=.   +^:(0>.1+])
   5!:5<'a'
+^:(0 >. 1 + ])
   5!:6<'a'
+^:(0 >. (1 + ]))

NB. j901
   a=.   +^:(0>.1+])
   5!:5<'a'
+^:(0 (>.) 1 + ])
   5!:6<'a'
+^:(0 (>.) (1 + ]))


On Sat, May 23, 2020 at 10:01 AM David Lambert <[email protected]> wrote:

>    +^:(0>.1+])
> +^:(0 (>.) 1 + ])
>
> There's probably a reason for parenthesized maximum?
> Inspired by fixing ys at
> http://rosettacode.org/wiki/Yellowstone_sequence#tacit
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to