[Top][All Lists]

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

Re: pretty-lambdas -> pretty-greek

From: Pascal Bourguignon
Subject: Re: pretty-lambdas -> pretty-greek
Date: 08 Dec 2003 04:47:41 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Stefan Monnier <address@hidden> writes:

> > Following  the  idea of  pretty-lambdas,  here  is  a pretty-greek  to
> > compose  all  greek letters,  which  is  useful  when you're  writting
> > mathematical algorithms:
> But why not use the actual greek letter for those cases?
> For lambda, it made sense to use this compose kludge because the `lambda'
> symbol has a special meaning, but in your case, it seems easier and more
> robust to just use the right letter from the start.

Because I don't see any greek letter in the standard characters
specified by the Common Lisp standard:

2.1.3 Standard Characters

All implementations must support a character repertoire called
standard-char; characters that are members of that repertoire are
called standard characters.

The standard-char repertoire consists of the non-graphic character
newline, the graphic character space, and the following additional
ninety-four graphic characters or their equivalents:

Graphic ID  Glyph  Description  Graphic ID  Glyph  Description  
LA01        a      small a      LN01        n      small n      
LA02        A      capital A    LN02        N      capital N    
LB01        b      small b      LO01        o      small o      
LB02        B      capital B    LO02        O      capital O    
LC01        c      small c      LP01        p      small p      
LC02        C      capital C    LP02        P      capital P    
LD01        d      small d      LQ01        q      small q      
LD02        D      capital D    LQ02        Q      capital Q    
LE01        e      small e      LR01        r      small r      
LE02        E      capital E    LR02        R      capital R    
LF01        f      small f      LS01        s      small s      
LF02        F      capital F    LS02        S      capital S    
LG01        g      small g      LT01        t      small t      
LG02        G      capital G    LT02        T      capital T    
LH01        h      small h      LU01        u      small u      
LH02        H      capital H    LU02        U      capital U    
LI01        i      small i      LV01        v      small v      
LI02        I      capital I    LV02        V      capital V    
LJ01        j      small j      LW01        w      small w      
LJ02        J      capital J    LW02        W      capital W    
LK01        k      small k      LX01        x      small x      
LK02        K      capital K    LX02        X      capital X    
LL01        l      small l      LY01        y      small y      
LL02        L      capital L    LY02        Y      capital Y    
LM01        m      small m      LZ01        z      small z      
LM02        M      capital M    LZ02        Z      capital Z    

Figure 2-3. Standard Character Subrepertoire (Part 1 of 3: Latin Characters)

Graphic ID  Glyph  Description  Graphic ID  Glyph  Description  
ND01        1      digit 1      ND06        6      digit 6      
ND02        2      digit 2      ND07        7      digit 7      
ND03        3      digit 3      ND08        8      digit 8      
ND04        4      digit 4      ND09        9      digit 9      
ND05        5      digit 5      ND10        0      digit 0      

Figure 2-4. Standard Character Subrepertoire (Part 2 of 3: Numeric Characters)

Graphic ID  Glyph  Description                              
SP02        !      exclamation mark                         
SC03        $      dollar sign                              
SP04        "      quotation mark, or double quote          
SP05        '      apostrophe, or [single] quote            
SP06        (      left parenthesis, or open parenthesis    
SP07        )      right parenthesis, or close parenthesis  
SP08        ,      comma                                    
SP09        _      low line, or underscore                  
SP10        -      hyphen, or minus [sign]                  
SP11        .      full stop, period, or dot                
SP12        /      solidus, or slash                        
SP13        :      colon                                    
SP14        ;      semicolon                                
SP15        ?      question mark                            
SA01        +      plus [sign]                              
SA03        <      less-than [sign]                         
SA04        =      equals [sign]                            
SA05        >      greater-than [sign]                      
SM01        #      number sign, or sharp[sign]              
SM02        %      percent [sign]                           
SM03        &      ampersand                                
SM04        *      asterisk, or star                        
SM05        @      commercial at, or at-sign                
SM06        [      left [square] bracket                    
SM07        \      reverse solidus, or backslash            
SM08        ]      right [square] bracket                   
SM11        {      left curly bracket, or left brace        
SM13        |      vertical bar                             
SM14        }      right curly bracket, or right brace      
SD13        `      grave accent, or backquote               
SD15        ^      circumflex accent                        
SD19        ~      tilde                                    

Figure 2-5. Standard Character Subrepertoire (Part 3 of 3: Special Characters)

The graphic IDs are not used within Common Lisp, but are provided for
cross reference purposes with ISO 6937/2. Note that the first letter
of the graphic ID categorizes the character as follows: L---Latin,
N---Numeric, S---Special.

__Pascal_Bourguignon__                              .  *   * . * .* .                        .   *   .   .*
                                                    * .  . /\  ()  . *
Living free in Alaska or in Siberia, a               . .  / .\   . * .
grizzli's life expectancy is 35 years,              .*.  / *  \  . .
but no more than 8 years in captivity.                . /*   o \     .                        *   '''||'''   .
SCO Spam-magnet: address@hidden                 ******************

reply via email to

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