reduce-combinations-with-replacement ( ... seq k identity quot: ( ... prev elt -- ... next ) -- ... result )


Vocabulary
math.combinatorics

Inputs
seqan object
kan object
identityan object
quota quotation with stack effect ( ... prev elt -- ... next )


Outputs
resultan object


Definition


: reduce-combinations-with-replacement
( ... seq k identity quot: ( ... prev elt -- ... next ) -- ... result )
-rotd each-combination-with-replacement ; inline