Handbook
Glossary
class-constraint? ( object -- ? )
Vocabulary
compiler
.
tree
.
propagation
.
constraints
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
class-constraint
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
;
IN:
compiler.tree.propagation.constraints
:
class-constraint?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
\
class-constraint
eq?
]
[
drop
f
]
if
;