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