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: Elias Mårtenson
Subject: Re: [Bug-apl] Proposal: Support alternative symbols for ⍺ and ⍵
Date: Sun, 26 Feb 2017 00:09:58 +0800

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> 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]