packages feed

splitmix-distributions 0.8.0.0 → 0.9.0.0

raw patch · 3 files changed

+9/−4 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,3 +1,8 @@+0.9 :++- ensure it builds with ghc 8.6.5 (== stackage lts 14.27) as well+- relax lower bound+ 0.8 :  - add `exceptions` dependency
splitmix-distributions.cabal view
@@ -1,5 +1,5 @@ name:           splitmix-distributions-version:        0.8.0.0+version:        0.9.0.0 description:    Random samplers for some common distributions, as well as a convenient interface for composing them, based on splitmix. Please see the README on GitHub at <https://github.com/ocramz/splitmix-distributions#readme> homepage:       https://github.com/ocramz/splitmix-distributions#readme bug-reports:    https://github.com/ocramz/splitmix-distributions/issues@@ -12,7 +12,7 @@ license-file:   LICENSE build-type:     Simple cabal-version:  >= 1.10-tested-with:    GHC == 8.10.4+tested-with:    GHC == 8.6.5, GHC == 8.10.4 extra-source-files:     README.md     ChangeLog.md@@ -28,7 +28,7 @@       src   build-depends:                     base >=4.7 && <5-                  , containers >= 0.6.2.1+                  , containers                   , erf                   , exceptions                   , mtl
src/System/Random/SplitMix/Distributions.hs view
@@ -83,7 +83,7 @@ import Control.Monad.Trans.Class (MonadTrans(..)) import Control.Monad.State (MonadState(..), modify) -- splitmix-import System.Random.SplitMix (SMGen, mkSMGen, initSMGen, unseedSMGen, splitSMGen, nextInt, nextInteger, nextDouble)+import System.Random.SplitMix (SMGen, mkSMGen, initSMGen, unseedSMGen, splitSMGen, nextDouble) -- transformers import Control.Monad.Trans.State (StateT(..), runStateT, evalStateT, State, runState, evalState)