Handbook
Glossary
virtual-sequence? ( object -- ? )
Vocabulary
sequences
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
virtual-sequence
class.
Definition
USING:
classes.tuple.private
kernel
math.bits
math.blas.vectors
math.private
sequences.cords
sequences.inserters
sequences.merged
sequences.modified
sequences.repeating
slots.private
;
IN:
sequences
:
virtual-sequence?
( object -- ? )
dup
dup
tuple?
[
layout-of
dup
7
slot
dup
\
offset-growable
eq?
[
drop
t
]
[
dup
\
cycles
eq?
[
drop
t
]
[
dup
\
modified
eq?
[
drop
t
]
[
dup
\
blas-vector-base
eq?
[
drop
t
]
[
dup
\
merged
eq?
~quotation~ ~curried~
if
]
if
]
if
]
if
]
if
[
drop
t
]
[
dup
1
slot
9
fixnum>=
[
9
slot
\
binary-bits
eq?
]
[
drop
f
]
if
]
if
]
[
drop
f
]
if
[
drop
t
]
[
dup
cord?
[
drop
t
]
[
wrapped-sequence?
]
if
]
if
;