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