packages feed

fraction 0.1.0.4 → 0.1.0.5

raw patch · 1 files changed

+3/−3 lines, 1 filesdep ~semigroupsPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: semigroups

API changes (from Hackage documentation)

- Data.Fraction: instance Monoid Fraction
- Data.Fraction: instance Semigroup Fraction
+ Data.Fraction: instance Data.Semigroup.Semigroup Data.Fraction.Fraction
+ Data.Fraction: instance GHC.Base.Monoid Data.Fraction.Fraction
- Data.Fraction: fromFactor :: Real real => real -> Fraction
+ Data.Fraction: fromFactor :: (Real real) => real -> Fraction
- Data.Fraction: fromNumber :: Real real => (real, real) -> real -> Fraction
+ Data.Fraction: fromNumber :: (Real real) => (real, real) -> real -> Fraction
- Data.Fraction: fromPercentage :: Real real => real -> Fraction
+ Data.Fraction: fromPercentage :: (Real real) => real -> Fraction

Files

fraction.cabal view
@@ -1,5 +1,5 @@ Name:          fraction-Version:       0.1.0.4+Version:       0.1.0.5 Cabal-Version: >= 1.8 Build-Type:    Simple License:       BSD3@@ -17,7 +17,7 @@                A fraction can be seen as a real number from the closed interval                [0,1]. It can also be seen as a percentage. Category:      Data-Tested-With:   GHC == 7.10.1+Tested-With:   GHC == 8.0.1  Source-Repository head     Type:     darcs@@ -30,6 +30,6 @@  Library     Build-Depends:   base       >= 3.0 && < 5,-                     semigroups >= 0.8 && < 0.17+                     semigroups >= 0.8 && < 0.19     Exposed-Modules: Data.Fraction     HS-Source-Dirs:  src