Module
Data.Distribution
- Package
- purescript-distributions
- Repository
- paf31/purescript-distributions
This module defines a monad of distributions, which generalizes the probability monad
to an arbitrary Semiring
.
#Dist Source
data Dist p a
A distribution of values of type a
, with "probabilities" in some Semiring p
.
Constructors
Instances
- Modules
- Data.
Distribution