approximate 0.1.1 → 0.2
raw patch · 3 files changed
+7/−8 lines, 3 filesdep −data-defaultdep ~generic-deriving
Dependencies removed: data-default
Dependency ranges changed: generic-deriving
Files
- CHANGELOG.markdown +5/−0
- approximate.cabal +2/−3
- src/Data/Approximate/Mass.hs +0/−5
CHANGELOG.markdown view
@@ -1,3 +1,8 @@+0.2+---+* Removed the `data-default` dependency+* Increased range of supported versions of `generic-deriving`.+ 0.1.1 ----- * Ported `Data.Approximate.Numerics` from [analytics](http://github.com/analytics)
approximate.cabal view
@@ -1,6 +1,6 @@ name: approximate category: Numeric-version: 0.1.1+version: 0.2 license: BSD3 cabal-version: >= 1.8 license-file: LICENSE@@ -46,10 +46,9 @@ bytes >= 0.7 && < 1, cereal >= 0.3.5 && < 0.4, comonad >= 3 && < 4,- data-default >= 0.5 && < 0.6, deepseq >= 1.3 && < 1.5, distributive >= 0.3 && < 1,- generic-deriving >= 1.4 && < 1.6,+ generic-deriving >= 1.4 && < 1.7, ghc-prim, hashable >= 1.1.2.3 && < 1.3, hashable-extras >= 0.1 && < 1,
src/Data/Approximate/Mass.hs view
@@ -24,7 +24,6 @@ import Data.Bytes.Serial as Bytes import Data.Copointed import Data.Data-import Data.Default import Data.Foldable import Data.Functor.Bind import Data.Functor.Extend@@ -156,10 +155,6 @@ instance Copointed Mass where copoint (Mass _ a) = a {-# INLINE copoint #-}--instance Default a => Default (Mass a) where- def = Mass 1 def- {-# INLINE def #-} instance Applicative Mass where pure = Mass 1