bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] element


From: Juergen Sauermann
Subject: Re: [Bug-apl] element
Date: Mon, 25 Nov 2013 12:53:30 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Egan,

thanks. There are a few characters in Unicode that look similar.
For that reason there is a function Avec::map_alternative_char() in Avec::cc
that maps similar looking characters like ε/∈, ι/⍳, ~/∼ to the variant used in ⎕AV
and in user defined APL functions.

If you modify Avec.cc around line 241 like this:

case 0x220A: // map ∊ to ∈
case 0x03B5: return AV_ELEMENT; // map ε to ∈

then everything should be fine and there would be no need to change your keyboard map.

I have made that change in my sources; will be contained in the next SVN commit.

/// Juergen


On 11/25/2013 02:06 AM, Egan Ford wrote:
Hi, first off, thanks for GNU APL.

Not a bug, just an FYI.

I am new to APL and still learning.  I had to make the following
change to use Dyalog keyboard maps for OS/X as well as cutting and
pasting examples from wikipedia and other sources.

//char_def(ELEMENT            , 0x2208 , F12_ELEMENT  , NO_SPACE ,  EE) /* ∈ */
char_def(ELEMENT            , 0x220A , F12_ELEMENT  , NO_SPACE ,  EE) /* ∊ */

Personally I like 0x2208 I will change the keymaps.





reply via email to

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