monad-markov

Markov process monad

https://github.com/arranstewart/monad-markov

Latest on Hackage:0.1.0.0

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.

MIT licensed by Arran D. Stewart
Maintained by [email protected]

A monad transformer providing a monad in which computations have access to state and a probabilistic transition function. This can be used to model Markov chains.

A type class is provided with one operation, "nextState", which transitions to the next state.

The transformer is built on top of MonadRandom (https:/hackage.haskell.orgpackage/MonadRandom).