intervals 0.7.0.1 → 0.7.1
raw patch · 6 files changed
+26/−13 lines, 6 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
+ Numeric.Interval.Internal: instance Constructor C1_0Interval
+ Numeric.Interval.Internal: instance Constructor C1_1Interval
+ Numeric.Interval.Internal: instance Datatype D1Interval
+ Numeric.Interval.Internal: instance Generic (Interval a)
+ Numeric.Interval.Internal: instance Generic1 Interval
+ Numeric.Interval.Kaucher: instance Constructor C1_0Interval
+ Numeric.Interval.Kaucher: instance Datatype D1Interval
+ Numeric.Interval.Kaucher: instance Generic (Interval a)
+ Numeric.Interval.Kaucher: instance Generic1 Interval
+ Numeric.Interval.NonEmpty.Internal: instance Constructor C1_0Interval
+ Numeric.Interval.NonEmpty.Internal: instance Datatype D1Interval
+ Numeric.Interval.NonEmpty.Internal: instance Generic (Interval a)
+ Numeric.Interval.NonEmpty.Internal: instance Generic1 Interval
Files
- CHANGELOG.markdown +5/−0
- intervals.cabal +1/−1
- src/Numeric/Interval/Internal.hs +8/−4
- src/Numeric/Interval/Kaucher.hs +8/−4
- src/Numeric/Interval/NonEmpty.hs +1/−1
- src/Numeric/Interval/NonEmpty/Internal.hs +3/−3
CHANGELOG.markdown view
@@ -1,3 +1,8 @@+0.7.1+-----+* Now compatible with GHC 7.10.1-rc1+* Fixed a number of broken `#if` pragmas, fixing previously missing instances.+ 0.7.0.1 ------- * Removed a couple of unnecessary `Fractional` constraints.
intervals.cabal view
@@ -1,5 +1,5 @@ name: intervals-version: 0.7.0.1+version: 0.7.1 synopsis: Interval Arithmetic description: A 'Numeric.Interval.Interval' is a closed, convex set of floating point values.
src/Numeric/Interval/Internal.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE Rank2Types #-} {-# LANGUAGE DeriveDataTypeable #-}-#if defined(__GLASGOW_HASKELL) && __GLASGOW_HASKELL__ >= 704+#if __GLASGOW_HASKELL__ >= 704 {-# LANGUAGE DeriveGeneric #-} #endif {-# OPTIONS_HADDOCK not-home #-}@@ -52,10 +52,14 @@ import Control.Exception as Exception import Data.Data-import Data.Foldable hiding (minimum, maximum, elem, notElem)+import Data.Foldable hiding (minimum, maximum, elem, notElem+#if __GLASGOW_HASKELL__ >= 710+ , null+#endif+ ) import Data.Function (on) import Data.Monoid-#if defined(__GLASGOW_HASKELL) && __GLASGOW_HASKELL__ >= 704+#if __GLASGOW_HASKELL__ >= 704 import GHC.Generics #endif import Numeric.Interval.Exception@@ -66,7 +70,7 @@ data Interval a = I !a !a | Empty deriving ( Data , Typeable-#if defined(__GLASGOW_HASKELL) && __GLASGOW_HASKELL__ >= 704+#if __GLASGOW_HASKELL__ >= 704 , Generic #if __GLASGOW_HASKELL__ >= 706 , Generic1
src/Numeric/Interval/Kaucher.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE Rank2Types #-} {-# LANGUAGE DeriveDataTypeable #-}-#if defined(__GLASGOW_HASKELL) && __GLASGOW_HASKELL__ >= 704+#if __GLASGOW_HASKELL__ >= 704 {-# LANGUAGE DeriveGeneric #-} #endif -----------------------------------------------------------------------------@@ -53,11 +53,15 @@ import Control.Exception as Exception import Data.Data import Data.Distributive-import Data.Foldable hiding (minimum, maximum, elem, notElem)+import Data.Foldable hiding (minimum, maximum, elem, notElem+#if __GLASGOW_HASKELL__ >= 710+ , null+#endif+ ) import Data.Function (on) import Data.Monoid import Data.Traversable-#if defined(__GLASGOW_HASKELL) && __GLASGOW_HASKELL__ >= 704+#if __GLASGOW_HASKELL__ >= 704 import GHC.Generics #endif import Numeric.Interval.Exception@@ -68,7 +72,7 @@ data Interval a = I !a !a deriving ( Data , Typeable-#if defined(__GLASGOW_HASKELL) && __GLASGOW_HASKELL__ >= 704+#if __GLASGOW_HASKELL__ >= 704 , Generic #if __GLASGOW_HASKELL__ >= 706 , Generic1
src/Numeric/Interval/NonEmpty.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE Rank2Types #-} {-# LANGUAGE DeriveDataTypeable #-}-#if defined(__GLASGOW_HASKELL) && __GLASGOW_HASKELL__ >= 704+#if __GLASGOW_HASKELL__ >= 704 {-# LANGUAGE DeriveGeneric #-} #endif -----------------------------------------------------------------------------
src/Numeric/Interval/NonEmpty/Internal.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE Rank2Types #-} {-# LANGUAGE DeriveDataTypeable #-}-#if defined(__GLASGOW_HASKELL) && __GLASGOW_HASKELL__ >= 704+#if __GLASGOW_HASKELL__ >= 704 {-# LANGUAGE DeriveGeneric #-} #endif {-# OPTIONS_HADDOCK not-home #-}@@ -52,7 +52,7 @@ import Data.Foldable hiding (minimum, maximum, elem, notElem) import Data.Function (on) import Data.Monoid-#if defined(__GLASGOW_HASKELL) && __GLASGOW_HASKELL__ >= 704+#if __GLASGOW_HASKELL__ >= 704 import GHC.Generics #endif import Numeric.Interval.Exception@@ -63,7 +63,7 @@ data Interval a = I !a !a deriving ( Data , Typeable-#if defined(__GLASGOW_HASKELL) && __GLASGOW_HASKELL__ >= 704+#if __GLASGOW_HASKELL__ >= 704 , Generic #if __GLASGOW_HASKELL__ >= 706 , Generic1