alg 0.2.3.0 → 0.2.4.0
raw patch · 2 files changed
+4/−1 lines, 2 files
Files
- Algebra.hs +3/−0
- alg.cabal +1/−1
Algebra.hs view
@@ -115,3 +115,6 @@ (/) :: (Semigroup (Product a), Group (Product a)) => a -> a -> a a / b = getProduct (Product a <> invert (Product b))++commuteWith :: Group b => (a -> a -> b) -> a -> a -> b+commuteWith f x y = f x y <> invert (f y x)
alg.cabal view
@@ -1,5 +1,5 @@ name: alg-version: 0.2.3.0+version: 0.2.4.0 synopsis: Algebraic structures -- description: license: BSD3