Various examples are scattered throughout the library, but here
are some more:

Evalulates the chance of a coin toss turning up heads:

chanceTrue coinToss

Shows the chances of each outcome of rolling two six-sided dice, as a textual bar chart:

show (2*d6)

The chance of getting an 18 when rolling 3 six-sided dice and rerolling on any total less than 8:

chancePred (== 18) ((3*d6) `rerollOn` [3..7])

As a more complex example, this implements my memory/understanding of the original
World of Darkness dice system
(http://en.wikipedia.org/wiki/Storytelling_System).
You roll a given number of 10-sided dice, rolling one
extra for every 10 you score if you are specialised. The number of 1s on the
original roll are subtracted from the total number of
dice that equal or exceed the difficulty target: