Handbook
Glossary
literal-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
literal-constraint
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
;
IN:
compiler.tree.propagation.constraints
:
literal-constraint?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
\
literal-constraint
eq?
]
[
drop
f
]
if
;