Right, noun AR goes awry in 8.05.

Henry Rich

On 6/5/2017 12:00 AM, Jose Mario Quintana wrote:
That is interesting, right now, for

    JVERSION
Engine: j805/j64/windows
Release: commercial/2016-12-11T08:02:16
Library: 8.05.10
Qt IDE: 1.5.3s/5.6.2
Platform: Win 64
Installer: J805 install
InstallPath: c:/program files/j
Contact: www.jsoftware.com

the following works,

    uu=. u"_
    replace=. 1 : '([`((5!:1)<''uu'')`])}'
    a =: 'fg' (3 1 replace) a
    a
agifuwy

However, trying to execute,

    replace =: 1 : '[`(5!:1<''u'')`]}'
    a =: 'fg' (3 1 replace) a

makes the interpreter to stop working.


On Sun, Jun 4, 2017 at 6:47 PM, Henry Rich <[email protected]> wrote:

Now that in-place assignment is available for most occurrences of m}, is
doesn't hurt performance to use modifiers to make things easier to read:

    replace =: 1 : '[`(u"_)`]}'

    a =: 'aeiouwy'

    a =: 'fg' (3 1 replace) a   NB. Parentheses optional

    a

agifuwy


In the next release noun ARs will be supported in gerund}, and then
replace can be written as


    replace =: 1 : '[`(5!:1<''u'')`]}'


Henry Rich



---
This email has been checked for viruses by AVG.
http://www.avg.com
----------------------------------------------------------------------
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

Reply via email to