Show
Ignore:
Timestamp:
10/06/08 19:09:27 (3 months ago)
Author:
pmoura
Message:

Added predicates is_quote/1 and is_punctation/1 to the library entities "characterp" and "character".

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/library/character.lgt

    r3687 r4492  
    55 
    66    :- info([ 
    7         version is 1.0, 
     7        version is 1.1, 
    88        author is 'Paulo Moura', 
    9         date is 2000/7/24, 
     9        date is 2008/10/7, 
    1010        comment is 'Character predicates.']). 
    1111 
     
    6565 
    6666    is_layout(' '). 
     67    is_layout('\t'). 
     68    is_layout('\n'). 
     69 
     70    is_quote(''''). 
     71    is_quote('"'). 
     72    is_quote('`'). 
     73 
     74    is_punctation(','). 
     75    is_punctation(';'). 
     76    is_punctation(':'). 
     77    is_punctation('.'). 
     78    is_punctation('?'). 
     79    is_punctation('!'). 
    6780 
    6881    lower_upper(a, 'A').