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