packages feed

smaoin 0.1.1.0 → 0.1.1.1

raw patch · 3 files changed

+27/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

NEWS view
@@ -1,3 +1,26 @@+smaoin 0.1.1.1 -- 2015-05-05+============================++General, build and documentation changes:++* (None)++New APIs, features and enhancements:++* (None)++Bug fixes:++* Now RealNum is an actually *working* instance of Eq.++Dependency changes:++* (None)+++++ smaoin 0.1.1.0 -- 2015-05-05 ============================ 
smaoin.cabal view
@@ -1,5 +1,5 @@ name:                smaoin-version:             0.1.1.0+version:             0.1.1.1 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
@@ -67,7 +67,9 @@             else (x, y)  instance Eq RealNum where-    m == n   =   normalize m == normalize n+    m == n = normalize m `e` normalize n+        where+        (RealNum s1 e1) `e` (RealNum s2 e2) = s1 == s2 && e1 == e2  instance Num RealNum where     (RealNum s1 e1) + (RealNum s2 e2) = normalize $ RealNum (s1' + s2') e'