Handbook
Glossary
create-predicate-word ( word -- predicate )
Vocabulary
classes
Inputs
word
an
object
Outputs
predicate
an
object
Definition
USING:
accessors
kernel
sequences
words
;
IN:
classes
:
create-predicate-word
( word -- predicate )
[
name>>
"?"
append
]
[
vocabulary>>
]
bi
create-word
dup
predicate?
[
dup
reset-generic
]
unless
;