Handbook
Glossary
?span-slices ( slice1/f slice2/f -- slice )
Vocabulary
sequences
.
extras
Inputs
slice1/f
a
slice
or
f
slice2/f
a
slice
or
f
Outputs
slice
a
slice
Word description
Create a virtual sequence spanning the length covered by
slice1
and
slice2
. Slices must refer to the same sequence. If
f
is one of the inputs, it is omitted.
Definition
USING:
kernel
;
IN:
sequences.extras
:
?span-slices
( slice1/f slice2/f -- slice )
2dup
and
[
span-slices
]
[
or
]
if
;