Handbook
Glossary
all-prefixes ( seq -- array )
Vocabulary
grouping
.
extras
Inputs
seq
a
sequence
Outputs
array
an
array
Word description
A strict version of
<prefixes>
that returns a list of sequences instead of slices.
Definition
USING:
kernel
sequences
;
IN:
grouping.extras
:
all-prefixes
( seq -- array )
[
<prefixes>
]
[
[
like
]
curry
map
]
bi
;