Next: , Previous: , Up: asciis   [Index]


1.10.3 Character predicates

The following bindings are exported by the library (vicare language-extensions ascii-chars). The identifiers whose name is prefixed with ‘$’ are bound to unsafe operations: they do not validate the arguments and applying them to invalid arguments leads to undefined behaviour.

Syntax: $ascii-chi-V? fx

Evaluate to true if fx is a fixnum representing the character ‘V’ in ASCII encoding.

Syntax: $ascii-chi-v? fx

Evaluate to true if fx is a fixnum representing the character ‘v’ in ASCII encoding.

Syntax: $ascii-chi-ampersand? fx

Evaluate to true if fx is a fixnum representing the character ‘&’ in ASCII encoding.

Syntax: $ascii-chi-at-sign? fx

Evaluate to true if fx is a fixnum representing the character ‘@’ in ASCII encoding.

Syntax: $ascii-chi-open-bracket? fx

Evaluate to true if fx is a fixnum representing the character ‘[’ in ASCII encoding.

Syntax: $ascii-chi-close-bracket? fx

Evaluate to true if fx is a fixnum representing the character ‘]’ in ASCII encoding.

Syntax: $ascii-chi-open-paren? fx

Evaluate to true if fx is a fixnum representing the character ‘(’ in ASCII encoding.

Syntax: $ascii-chi-close-paren? fx

Evaluate to true if fx is a fixnum representing the character ‘)’ in ASCII encoding.

Syntax: $ascii-chi-dot? fx

Evaluate to true if fx is a fixnum representing the character ‘.’ in ASCII encoding.

Syntax: $ascii-chi-comma? fx

Evaluate to true if fx is a fixnum representing the character ‘,’ in ASCII encoding.

Syntax: $ascii-chi-colon? fx

Evaluate to true if fx is a fixnum representing the character ‘:’ in ASCII encoding.

Syntax: $ascii-chi-semicolon? fx

Evaluate to true if fx is a fixnum representing the character ‘;’ in ASCII encoding.

Syntax: $ascii-chi-bang? fx

Evaluate to true if fx is a fixnum representing the character ‘!’ in ASCII encoding.

Syntax: $ascii-chi-dollar? fx

Evaluate to true if fx is a fixnum representing the character ‘$’ in ASCII encoding.

Syntax: $ascii-chi-question-mark? fx

Evaluate to true if fx is a fixnum representing the character ‘?’ in ASCII encoding.

Syntax: $ascii-chi-number-sign? fx

Evaluate to true if fx is a fixnum representing the character ‘#’ in ASCII encoding.

Syntax: $ascii-chi-percent? fx

Evaluate to true if fx is a fixnum representing the character ‘%’ in ASCII encoding.

Syntax: $ascii-chi-equal? fx

Evaluate to true if fx is a fixnum representing the character ‘=’ in ASCII encoding.

Syntax: $ascii-chi-plus? fx

Evaluate to true if fx is a fixnum representing the character ‘+’ in ASCII encoding.

Syntax: $ascii-chi-minus? fx
Syntax: $ascii-chi-dash? fx

Evaluate to true if fx is a fixnum representing the character ‘-’ in ASCII encoding.

Syntax: $ascii-chi-underscore? fx

Evaluate to true if fx is a fixnum representing the character ‘_’ in ASCII encoding.

Syntax: $ascii-chi-tilde? fx

Evaluate to true if fx is a fixnum representing the character ‘~’ in ASCII encoding.

Syntax: $ascii-chi-quote? fx

Evaluate to true if fx is a fixnum representing the character ‘'’ in ASCII encoding.

Syntax: $ascii-chi-slash? fx

Evaluate to true if fx is a fixnum representing the character ‘/’ in ASCII encoding.

Syntax: $ascii-chi-star? fx

Evaluate to true if fx is a fixnum representing the character ‘*’ in ASCII encoding.


Next: , Previous: , Up: asciis   [Index]