amb-all ( quot -- )
Simple backtracking non-determinism

Prev:if-amb ( true false -- ? )
Next:bag-of ( quot -- seq )


Vocabulary
backtrack

Inputs
quota quotation with stack effect ( -- )


Outputs
None

Word description
Execute all the alternatives in the quotation by calling fail repeatedly at the end.

See also
bag-of, fail

Definition