Discrete Probability Monad with F# computation Expressions that runs in Fable
Copy and paste each part in turn into http://fable.io/repl/. Probabilistic programming part should start around line 220. Should be compatible with almost everything in http://greenteapress.com/wp/think-bayes/
Also provides text histogram plots!