declarative 0.5.1 → 0.5.2
raw patch · 1 files changed
+7/−7 lines, 1 filesdep ~hasty-hamiltoniandep ~mcmc-typesdep ~mighty-metropolisPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: hasty-hamiltonian, mcmc-types, mighty-metropolis, mwc-probability, speedy-slice
API changes (from Hackage documentation)
- Numeric.MCMC: asGenIO :: (GenIO -> IO a) -> GenIO -> IO a
+ Numeric.MCMC: asGenIO :: () => (GenIO -> IO a) -> GenIO -> IO a
- Numeric.MCMC: class Monad m => PrimMonad (m :: * -> *) where type PrimState (m :: * -> *) :: * where {
+ Numeric.MCMC: class Monad m => PrimMonad (m :: * -> *) where {
- Numeric.MCMC: create :: PrimMonad m => m (Gen (PrimState m))
+ Numeric.MCMC: create :: PrimMonad m => m Gen PrimState m
- Numeric.MCMC: hamiltonian :: (Num (IxValue (t Double)), Traversable t, FunctorWithIndex (Index (t Double)) t, Ixed (t Double), PrimMonad m, (~) * (IxValue (t Double)) Double) => Double -> Int -> Transition m (Chain (t Double) b)
+ Numeric.MCMC: hamiltonian :: (Num IxValue t Double, Traversable t, FunctorWithIndex Index t Double t, Ixed t Double, PrimMonad m, (~) * IxValue t Double Double) => Double -> Int -> Transition m Chain t Double b
- Numeric.MCMC: metropolis :: (Traversable f, PrimMonad m) => Double -> Transition m (Chain (f Double) b)
+ Numeric.MCMC: metropolis :: (Traversable f, PrimMonad m) => Double -> Transition m Chain f Double b
- Numeric.MCMC: slice :: (PrimMonad m, FoldableWithIndex (Index (t a)) t, Ixed (t a), Num (IxValue (t a)), Variate (IxValue (t a))) => IxValue (t a) -> Transition m (Chain (t a) b)
+ Numeric.MCMC: slice :: (PrimMonad m, FoldableWithIndex Index t a t, Ixed t a, Num IxValue t a, Variate IxValue t a) => IxValue t a -> Transition m Chain t a b
- Numeric.MCMC: withSystemRandom :: PrimBase m => (Gen (PrimState m) -> m a) -> IO a
+ Numeric.MCMC: withSystemRandom :: PrimBase m => (Gen PrimState m -> m a) -> IO a
Files
- declarative.cabal +7/−7
declarative.cabal view
@@ -1,5 +1,5 @@ name: declarative-version: 0.5.1+version: 0.5.2 synopsis: DIY Markov Chains. homepage: http://github.com/jtobin/declarative license: MIT@@ -63,14 +63,14 @@ build-depends: base >= 4 && < 6 , kan-extensions >= 5 && < 6- , mcmc-types >= 1.0.1- , mwc-probability >= 1.0.1- , mighty-metropolis >= 1.0.4+ , mcmc-types >= 1.0.1 && < 2+ , mwc-probability >= 2.0 && < 3+ , mighty-metropolis >= 1.0.4 && < 2 , lens >= 4 && < 5 , primitive >= 0.6 && < 1.0 , pipes >= 4 && < 5- , hasty-hamiltonian >= 1.1.5- , speedy-slice >= 0.1.5+ , hasty-hamiltonian >= 1.3 && < 2+ , speedy-slice >= 0.1.5 && < 1 , transformers >= 0.5 && < 1.0 Test-suite rosenbrock@@ -82,6 +82,6 @@ -rtsopts build-depends: base >= 4 && < 6- , mwc-probability >= 1.0.1+ , mwc-probability >= 2.0 && < 3 , declarative