Function character

Syntax:

character character denoted-character

Arguments and Values:

character—a character designator.

denoted-character—a character.

Description:

13.4.0 3Returns the character denoted by the character designator.

Examples:

 (character #\a) → #\a
 (character "a") → #\a
 (character 'a) → #\A
 (character '\a) → #\a
 (character 65.) is an error.
 (character 'apple) is an error.

Affected By:

None.

Exceptional Situations:

Should signal an error of type type-error if object is not a character designator.

See Also:

coerce

Notes:

 (character object) ≡ (coerce object 'character)