stochastic

Monadic composition of probabilistic functions and sampling.

http://kevinl.io/posts/2016-08-24-sampling-monad.html

Latest on Hackage:0.1.1.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

GPL-3.0-only licensed by Kevin Li
Maintained by [email protected]

This package allows the user to perform monadic composition of probabilistic functions (i.e. functions that take values and return distributions over values). These functions can then be sampled from to generate datapoints.