Safe Haskell | None |
---|---|
Language | Haskell2010 |
The effect Dist
for primitive distributions
Address
Dist effect
Distribution effect
handleDist :: (Member Sample es, Member Observe es) => Prog (Dist ': es) a -> Prog es a Source #
Handle the Dist
effect to a Sample
or Observe
effect and assign an address
Sample effect
The effect for sampling from distirbutions