Next: , Previous: , Up: built-in   [Contents][Index]


6.9 Type of keyword values

Core Type: <keyword>
Parent Type: <top>

Type of keyword values.

Constructor on <keyword>: <keyword> type-constructor symbol

The constructor is symbol->keyword.

Type predicate on <keyword>: <boolean> type-predicate obj

The type predicate is keyword?. Return #t if obj is a keyword object; otherwise return #f.

Hash function on <keyword>: <non-negative-fixnum> hash-function this

The hash function is keyword-hash.

Equality predicate on <keyword>: <boolean> equality-predicate this {K <keyword>}

The equality predicate is keyword=?.

Methods

Method on <keyword>: <symbol> symbol this

Apply keyword->symbol to the instance.

Method on <keyword>: <string> string this

Apply keyword->string to the instance.