packages feed

np-extras 0.3.1.1 → 0.3.1.2

raw patch · 3 files changed

+12/−6 lines, 3 filesdep ~basedep ~containersPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: base, containers

API changes (from Hackage documentation)

- MathObj.Monomial: x :: (C a) => Integer -> T a
+ MathObj.Monomial: x :: C a => Integer -> T a
- MathObj.MultiVarPolynomial: lift1 :: ([T a] -> [T a]) -> (T a -> T a)
+ MathObj.MultiVarPolynomial: lift1 :: ([T a] -> [T a]) -> T a -> T a
- MathObj.MultiVarPolynomial: lift2 :: ([T a] -> [T a] -> [T a]) -> (T a -> T a -> T a)
+ MathObj.MultiVarPolynomial: lift2 :: ([T a] -> [T a] -> [T a]) -> T a -> T a -> T a
- MathObj.MultiVarPolynomial: x :: (C a) => Integer -> T a
+ MathObj.MultiVarPolynomial: x :: C a => Integer -> T a

Files

CHANGES.md view
@@ -1,3 +1,9 @@+0.3.1.2 (18 Jan, 2019)+======================++- Allow `base-4.12` and `containers-0.6`+- Fix build on GHC 8.6+ 0.3.1.1 (21 May, 2016) ====================== 
MathObj/Monomial.hs view
@@ -71,7 +71,7 @@  -- | The degree of a monomial is the sum of its exponents. degree :: T a -> Integer-degree (Cons _ m) = M.fold (+) 0 m+degree (Cons _ m) = M.foldr (+) 0 m  -- | The \"partition degree\" of a monomial is the sum of the products --   of each variable index with its exponent.  For example, x1^3 x2^2
np-extras.cabal view
@@ -1,12 +1,12 @@ name:           np-extras-version:        0.3.1.1+version:        0.3.1.2 license:        BSD3 license-file:   LICENSE build-type:     Simple cabal-version:  >= 1.10-tested-with:    GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.1, GHC == 8.0.1+tested-with:    GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.1, GHC == 8.0.1, GHC == 8.2.1, GHC == 8.4.1, GHC == 8.6.1 author:         Brent Yorgey-maintainer:     Brent Yorgey <byorgey@cis.upenn.edu>+maintainer:     Brent Yorgey <byorgey@gmail.com> bug-reports:    http://hub.darcs.net/byorgey/np-extras/issues category:       Math synopsis:       NumericPrelude extras@@ -18,10 +18,10 @@   location: http://hub.darcs.net/byorgey/np-extras  Library-  build-depends: base >= 3.0 && < 4.10,+  build-depends: base >= 3.0 && < 4.13,                  numeric-prelude >= 0.3 && < 0.5,                  primes >= 0.1.1 && < 0.3,-                 containers >= 0.3 && < 0.6+                 containers >= 0.3 && < 0.7   exposed-modules:     MathObj.FactoredRational     MathObj.Monomial