There were cases where the code for linear representation left out needed parentheses.  The code is complex.  I decided I would rather hear complaints about too many parentheses than too few.

Henry Rich

On 5/22/2020 10:38 PM, bill lam wrote:
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


--
This email has been checked for viruses by AVG.
https://www.avg.com

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to