We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently defined as,
%% maybe. % % Succeeds with probability 0.5. maybe :- '$maybe'.
and works like this:
?- use_module(library(random)). true. ?- maybe. true. ?- maybe. true. ?- maybe. false. ?- maybe. true.
A more suitable name would be based on the https://en.wikipedia.org/wiki/Bernoulli_trial concept.
The clash with Maybe types as in Haskell — or Rust! — is also unfortunate.
Maybe
The text was updated successfully, but these errors were encountered:
Another clash is with the answer description maybe to signal some constraints that are not shown. Originally in CLP(R)
maybe
Sorry, something went wrong.
No branches or pull requests
Currently defined as,
and works like this:
A more suitable name would be based on the https://en.wikipedia.org/wiki/Bernoulli_trial concept.
The clash with
Maybe
types as in Haskell — or Rust! — is also unfortunate.The text was updated successfully, but these errors were encountered: