Handbook
Glossary
>resizable ( seq -- accum )
Vocabulary
sequences
.
extras
Inputs
seq
a
sequence
Outputs
accum
a
sequence
Word description
Converts a sequence into the nearest resizable equivalent, preserving its contents.
Definition
USING:
kernel
sequences
;
IN:
sequences.extras
:
>resizable
( seq -- accum )
[
length
]
keep
[
new-resizable
]
[
append!
]
bi
;