Handbook
Glossary
fail ( -- )
Vocabulary
backtrack
Word description
Signal that the current alternative is not acceptable. This will cause either backtracking to occur, or a failure to be signalled, as explained in the
amb
word description.
See also
amb
,
cut-amb
Definition
USING:
continuations
kernel
namespaces
;
IN:
backtrack
:
fail
( -- )
failure
get
[
continue
]
[
amb-failure
]
if*
;