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