alg 0.2.9.0 → 0.2.10.0
raw patch · 2 files changed
+4/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Algebra: infixl 6 -
+ Algebra: infixl 7 /
Files
- Algebra.hs +3/−0
- alg.cabal +1/−1
Algebra.hs view
@@ -99,6 +99,9 @@ instance Group (Sum Int) where invert (Sum a) = Sum (Base.negate a) instance Group (Sum Word) where invert (Sum a) = Sum (Base.negate a) +infixl 6 +, -+infixl 7 *, /+ (+) :: Semigroup (Sum a) => a -> a -> a a + b = getSum (Sum a <> Sum b)
alg.cabal view
@@ -1,5 +1,5 @@ name: alg-version: 0.2.9.0+version: 0.2.10.0 synopsis: Algebraic structures -- description: license: BSD3