Handbook
Glossary
wrapped-sequence? ( object -- ? )
Vocabulary
sequences
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
wrapped-sequence
class.
Definition
USING:
classes.tuple.private
gap-buffer
grouping
kernel
sequences.extras
slots.private
;
IN:
sequences
:
wrapped-sequence?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
dup
\
gb
eq?
[
drop
t
]
[
dup
\
step-slice
eq?
[
drop
t
]
[
dup
\
circular-slice
eq?
[
drop
t
]
[
dup
\
slice
eq?
[
drop
t
]
[
\
sequence-view
eq?
]
if
]
if
]
if
]
if
]
[
drop
f
]
if
;