@hackage monad-markov0.1.0.0
Markov process monad
Categories
License
MIT
Maintainer
maintainer@arranstewart.info
Links
Versions
- 0.1.0.0 Fri, 29 Jun 2018
Installation
Tested Compilers
Dependencies (6)
- MonadRandom >=0.5
- base >=4.0 && <5
- base-compat
- mtl
- random
- transformers Show all…
Dependents (1)
@hackage/acme-everything
monad-markov
A monad transformer providing a monad, MarkovT, in which computations have
access to state and a probabilistic transition function.
This can be used to model Markov processes.
A type class, MonadMarkov, is provided with one operation, "nextState",
which transitions to the next state.
The transformer is built on top of MonadRandom (https://hackage.haskell.org/package/MonadRandom).