SRFI-88 provides
keyword objects, which are equivalent to Guile's keywords
(see Keywords). SRFI-88 keywords can be entered using the
postfix keyword syntax, which consists of an identifier followed
by :
(see postfix
keyword syntax).
SRFI-88 can be made available with:
(use-modules (srfi srfi-88))
Doing so installs the right reader option for keyword syntax, using
(read-set! keywords 'postfix)
. It also provides the procedures
described below.
Return
#t
if obj is a keyword. This is the same procedure as the same-named built-in procedure (seekeyword?
).(keyword? foo:) ⇒ #t (keyword? 'foo:) ⇒ #t (keyword? "foo") ⇒ #f