packages feed

smaoin 0.1.0.0 → 0.1.1.0

raw patch · 3 files changed

+28/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Data.Smaoin: instance Eq RealNum

Files

NEWS view
@@ -1,4 +1,27 @@-smaoin 0.1.0.0 -- 2015-05-08+smaoin 0.1.1.0 -- 2015-05-05+============================++General, build and documentation changes:++* (None)++New APIs, features and enhancements:++* (None)++Bug fixes:++* RealNum wasn't an instance of Eq. Now it is.++Dependency changes:++* (None)++++++smaoin 0.1.0.0 -- 2015-05-05 ============================  General, build and documentation changes:
smaoin.cabal view
@@ -1,5 +1,5 @@ name:                smaoin-version:             0.1.0.0+version:             0.1.1.0 synopsis:            Utilities for the Smaoin semantic information model. description:         This package provides basic types and functions for                      working with the Smaoin model in Haskell. But these are
src/Data/Smaoin.hs view
@@ -66,6 +66,9 @@             then cleanZeros d (y + 1)             else (x, y) +instance Eq RealNum where+    m == n   =   normalize m == normalize n+ instance Num RealNum where     (RealNum s1 e1) + (RealNum s2 e2) = normalize $ RealNum (s1' + s2') e'         where