Handbook
Glossary
split-slice-back ( slice n -- slice1 slice2 )
Vocabulary
modern
.
slices
Inputs
slice
an
object
n
an
object
Outputs
slice1
an
object
slice2
an
object
Definition
USING:
accessors
kernel
math
sequences
;
IN:
modern.slices
::
split-slice-back
( slice n -- slice1 slice2 )
slice
[
from>>
]
[
to>>
]
[
seq>>
]
tri
:>
( from to seq ) from to n
-
seq
<slice>
to n
-
to seq
<slice>
;