3 ms·
Probability distributions can be nicely modelled as a monad. See, for example, https://github.com/jliszka/probability-monad https://github.com/jliszka/probabili
by noelwelsh 12y ago
Probability distributions can be nicely modelled as a monad. See, for example, https://github.com/jliszka/probability-monad https://github.com/jliszka/probability-monad
or http://www.cs.tufts.edu/~nr/pubs/pmonad-abstract.html http://www.cs.tufts.edu/~nr/pubs/pmonad-abstract.html
I think this goes beyond what Prolly offers, and so might provide some inspiration for extending it in a consistent manner.