bag-of ( quot -- seq )
Simple backtracking non-determinism

Prev:amb-all ( quot -- )
Next:amb ( seq -- elt )


Vocabulary
backtrack

Inputs
quota quotation with stack effect ( -- result )


Outputs
seqa sequence


Word description
Execute all the alternatives in the quotation and collect the results.

See also
amb-all

Definition