reduce-permutations ( ... seq identity quot: ( ... prev elt -- ... next ) -- ... result ) (original) (raw)
reduce-permutations ( ... seq identity quot: ( ... prev elt -- ... next ) -- ... result )
Vocabulary
math.combinatorics
Inputs
seq | an object |
---|---|
identity | an object |
quot | a quotation with stack effect ( ... prev elt -- ... next ) |
Outputs
result | an object |
---|
Definition
: reduce-permutations
( ... seq identity quot: ( ... prev elt -- ... next ) -- ... result )
swapd each-permutation ; inline