commit 6367161e7ff1b7d27f2fde3eef4dbf942ff0d61e
parent e627d51536c4d4b19ad66cfe4b8d045844bf7737
Author: Jared Tobin <jared@jtobin.ca>
Date: Sat, 7 May 2016 22:31:27 +1200
Minor version bump (v0.2.1).
* Bump stackage lts version.
* Export additional primitive types.
Diffstat:
5 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/declarative.cabal b/declarative.cabal
@@ -1,5 +1,5 @@
name: declarative
-version: 0.1.1
+version: 0.2.1
synopsis: DIY Markov Chains.
homepage: http://github.com/jtobin/declarative
license: MIT
diff --git a/lib/Numeric/MCMC.hs b/lib/Numeric/MCMC.hs
@@ -80,6 +80,10 @@ module Numeric.MCMC (
, MWC.createSystemRandom
, MWC.withSystemRandom
, MWC.asGenIO
+
+ , PrimMonad
+ , PrimState
+ , RealWorld
) where
import Control.Lens hiding (index)
diff --git a/stack-travis.yaml b/stack-travis.yaml
@@ -2,7 +2,7 @@ flags: {}
packages:
- '.'
extra-deps: []
-resolver: lts-5.1
+resolver: lts-5.14
compiler: ghc-7.10.3
system-ghc: false
install-ghc: true
diff --git a/stack.yaml b/stack.yaml
@@ -1,4 +1,4 @@
-resolver: lts-5.1
+resolver: lts-5.14
packages: ['.']
extra-deps: []
flags: {}
diff --git a/test/Rosenbrock.hs b/test/Rosenbrock.hs
@@ -17,5 +17,5 @@ transition =
(sampleT (slice 2.0) (slice 3.0))
main :: IO ()
-main = withSystemRandom . asGenIO $ mcmc 10000 [0, 0] (slice 1.0) rosenbrock
+main = withSystemRandom . asGenIO $ mcmc 100 [0, 0] (slice 1.0) rosenbrock