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