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


12.3 Low level keyword operations

The arguments key must be references to keyword objects, the arguments symb must be references to symbol objects. The following bindings are exported by the library (vicare system $keywords).

Unsafe Operation: $symbol->keyword sym
Unsafe Operation: $keyword->symbol key

Convert between a symbol and a keyword.

Unsafe Operation: $keyword->string key

Return the string representation of a keyword.

Unsafe Operation: $keyword=? key1 key2

Return #t if the arguments are equal. A keyword object is equal to itself; two distinct keyword objects are equal if they have the same symbol.

Unsafe Operation: $keyword-hash keyword

Return an exact integer suitable to be used as hash value for keyword used as key for hashtables.