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