3.8 Keywords
Keywords in The Racket Guide introduces keywords.
A keyword is like an interned symbol, but its printed form starts with #:, and a keyword cannot be used as an identifier. Furthermore, a keyword by itself is not a valid expression, though a keyword can be quoted to form an expression that produces the symbol.
Two keywords are eq? if and only if they print the same (i.e., keywords are always interned).
Like symbols, keywords are only weakly held by the internal keyword table; see Symbols for more information.
See Reading Keywords for information on reading keywords and Printing Keywords for information on printing keywords.
Returns #t if v is a keyword, #f otherwise.
procedure
(keyword->string keyword) → string?
keyword : keyword?
procedure
(string->keyword str) → keyword?
str : string?
Returns #t if the arguments are sorted, where the comparison
for each pair of keywords is the same as using
keyword->string and string<?.