tweag / monad-bayes

A library for probabilistic programming in Haskell.
MIT License
404 stars 62 forks source link

Add newtype to lift classes to monad transformers #272

Open turion opened 1 year ago

turion commented 1 year ago

With this PR, it should be possible to derive the MonadMeasure class easily for any monad transformer.