bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Proposal: Support alternative symbols for ⍺ and ⍵


From: Juergen Sauermann
Subject: Re: [Bug-apl] Proposal: Support alternative symbols for ⍺ and ⍵
Date: Sat, 25 Feb 2017 17:56:10 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Hi Elias,

thanks, fixed in *SVN 897*.

/// Jürgen


On 02/25/2017 05:09 PM, Elias Mårtenson wrote:
Hello Jürgen,

It seems as though this equivalence doesn't work. Here's a transcript. The first attempt uses the alternate symbols, which gives an error message. The standard symbols works fine:

*      1 {α+ω} 2*
VALUE ERROR
λ1[1]  λ←α+ω
           ^
*      1 {⍺+⍵} 2*
3

Regards,
Elias

On 24 February 2017 at 20:47, Juergen Sauermann <address@hidden <mailto:address@hidden>> wrote:

    Hi Elias,

    these characters are already accepted as "alternate characters",
    see *Avec.cc* lines *252* and *256*.
    If they don't work then I need more details about the circumstances.

    /// Jürgen


    On 02/24/2017 08:39 AM, Elias Mårtenson wrote:
    GNU APL uses the symbols ⍺ (U+237A APL FUNCTIONAL SYMBOL ALPHA)
    and ⍵ (U+2375 APL FUNCTIONAL SYMBOL OMEGA) for the left and right
    hand arguments in a lambda function.

    I would like to suggest that it also accept α (U+03B1 GREEK SMALL
    LETTER ALPHA) and ω (U+03C9 GREEK SMALL LETTER OMEGA) as
    alternatives.

    This will help when copy&pasting code that has been written with
    the non-standard symbols.

    Regards,
    Elias






reply via email to

[Prev in Thread] Current Thread [Next in Thread]