count-selections ( ... seq n quot: ( ... elt -- ... ? ) -- ... n )


Vocabulary
math.combinatorics

Inputs
seqan object
nan object
quota quotation with stack effect ( ... elt -- ... ? )


Outputs
nan object


Definition


: count-selections
( ... seq n quot: ( ... elt -- ... ? ) -- ... n )
0 swap [ [ 1 + ] when ] compose reduce-selections ; inline