map-selections ( ... seq n quot: ( ... elt -- ... newelt ) -- ... newseq ) (original) (raw)
map-selections ( ... seq n quot: ( ... elt -- ... newelt ) -- ... newseq )
Vocabulary
math.combinatorics
Inputs
seq | an object |
---|---|
n | an object |
quot | a quotation with stack effect ( ... elt -- ... newelt ) |
Outputs
newseq | an object |
---|
Definition
USING: math.combinatorics.private sequences ;
: map-selections
( ... seq n quot: ( ... elt -- ... newelt ) -- ... newseq )
selections-quot map ; inline