Handbook
Glossary
group-as ( seq n exemplar -- array )
Vocabulary
grouping
.
extras
Inputs
seq
a
sequence
n
an
integer
exemplar
an
object
Outputs
array
an
array
Word description
A version of
group
that returns a sequence of the same class as
exemplar
.
Definition
USING:
grouping
kernel
sequences
;
IN:
grouping.extras
:
group-as
( seq n exemplar -- array )
[
<groups>
]
dip
[
like
]
curry
map
;