Documentation maybe/1
available from version beta

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