mwc-probability

Sampling function-based probability distributions.
Log | Files | Refs | README | LICENSE

commit e0cbf6e9f1ed3135b12f1052b5563e747cdc575c
parent 627d6f6d216e2f003f07b2c0458649c39f0fa82c
Author: Jared Tobin <jared@jtobin.ca>
Date:   Sun, 22 Feb 2015 18:29:05 +1300

Drop mtl dependency, update dep versions.

Diffstat:
Mmwc-probability.cabal | 10+++++-----
Msrc/System/Random/MWC/Probability.hs | 2+-
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/mwc-probability.cabal b/mwc-probability.cabal @@ -1,7 +1,7 @@ name: mwc-probability version: 0.1.0.0 synopsis: Sampling function-based probability distributions. -description: +description: A simple probability distribution type, where distributions are characterized by sampling functions. @@ -50,8 +50,8 @@ library default-language: Haskell2010 hs-source-dirs: src build-depends: - base >= 4.7 && < 4.8 - , mwc-random >= 0.13.1.1 - , mtl >= 2.2.0.1 - , primitive >= 0.5.3.0 + base >= 4.7 && < 4.8 + , mwc-random >= 0.13.3.0 + , primitive >= 0.5.4.0 + , transformers >= 0.4.2.0 diff --git a/src/System/Random/MWC/Probability.hs b/src/System/Random/MWC/Probability.hs @@ -22,7 +22,7 @@ module System.Random.MWC.Probability ( import Control.Applicative import Control.Monad import Control.Monad.Primitive -import Control.Monad.Trans +import Control.Monad.Trans.Class import System.Random.MWC as MWC hiding (uniform, uniformR) import qualified System.Random.MWC as QMWC import qualified System.Random.MWC.Distributions as MWC.Dist