packages feed

semiring-num 1.1.0.0 → 1.1.0.1

raw patch · 2 files changed

+4/−4 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

semiring-num.cabal view
@@ -1,5 +1,5 @@ name:                semiring-num-version:             1.1.0.0+version:             1.1.0.1 synopsis:            Basic semiring class and instances description:         Adds a basic semiring class homepage:            https://github.com/oisdk/semiring-num
src/Data/Semiring.hs view
@@ -348,7 +348,7 @@ -- -- @∞ '<+>' x = x '<+>' ∞ = ∞@ ----- Taking ∞ to be 'maxBound' would break the above law. Using 'Nothing'+-- Taking ∞ to be 'maxBound' would break the above law. Using 'positiveInfinity' -- to represent it follows the law. newtype Min a = Min     { getMin :: a@@ -368,8 +368,8 @@ -- -- @-∞ '<+>' x = x '<+>' -∞ = -∞@ ----- Taking -∞ to be 'minBound' would break the above law. Using 'Nothing'--- to represent it follows the law.+-- Taking -∞ to be 'minBound' would break the above law. Using+-- 'negativeInfinity' to represent it follows the law. newtype Max a = Max     { getMax :: a     } deriving (Eq,Ord,Read,Show,Bounded,Generic,Generic1,Num,Enum,Typeable