Donate
Sandbox
Collaborate
Documentation
Downloads
Documentation
Prolog Predicate Reference
random
maybe/1
maybe/1
Succeed or fail with a certain probability.
Description
maybe
(
+number
)
maybe(P)
can be
true
with probability of
P
and
false
with a probability
1 - P
.
Implementation
Community
Site
Twitter
Github
npm
Documentation
Manual
Examples
Implementation details
Prolog Predicate Reference
Code
Custom bundle
Installation from npm
Source Code
Contact
Form contact
Collaborators
Contributors
tau.prolog @ gmail.com
© 2017 - 2025
José Antonio Riaza Valverde
Released under the
BSD-3 Clause license