commit 8d46209046139652699cc57a8fe700e04de5a251
parent a83d035217df7b797b279ee443c1c0a87e35176f
Author: Jared Tobin <jared@jtobin.ca>
Date: Thu, 8 Oct 2015 21:32:21 +1300
Remove ghc-prim dependency.
Diffstat:
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/Numeric/MCMC/Metropolis.hs b/Numeric/MCMC/Metropolis.hs
@@ -32,14 +32,13 @@ module Numeric.MCMC.Metropolis (
) where
import Control.Monad (when)
-import Control.Monad.Primitive (PrimMonad, PrimState)
+import Control.Monad.Primitive (PrimMonad, PrimState, RealWorld)
import Control.Monad.Trans.Class (lift)
import Control.Monad.Trans.State.Strict (execStateT, get, put)
import Data.Sampling.Types (Target(..), Chain(..), Transition)
#if __GLASGOW_HASKELL__ < 710
import Data.Traversable (Traversable, traverse)
#endif
-import GHC.Prim (RealWorld)
import Pipes (Producer, yield, (>->), runEffect)
import qualified Pipes.Prelude as Pipes (mapM_, take)
import System.Random.MWC.Probability (Gen, Prob)
diff --git a/mighty-metropolis.cabal b/mighty-metropolis.cabal
@@ -1,5 +1,5 @@
name: mighty-metropolis
-version: 1.0.0
+version: 1.0.1
synopsis: The Metropolis algorithm.
homepage: http://github.com/jtobin/mighty-metropolis
license: MIT
@@ -38,7 +38,6 @@ library
Numeric.MCMC.Metropolis
build-depends:
base < 5
- , ghc-prim
, pipes
, primitive
, mcmc-types >= 1.0.1