semigroups 0.8.4.1 → 0.8.5
raw patch · 2 files changed
+4/−1 lines, 2 files
Files
- Data/Semigroup.hs +3/−0
- semigroups.cabal +1/−1
Data/Semigroup.hs view
@@ -125,6 +125,9 @@ instance Semigroup [a] where (<>) = (++)+ times1p n x = rep n where+ rep 0 = x+ rep i = x ++ rep (i - 1) instance Semigroup a => Semigroup (Maybe a) where Nothing <> b = b
semigroups.cabal view
@@ -1,6 +1,6 @@ name: semigroups category: Algebra, Data, Data Structures, Math-version: 0.8.4.1+version: 0.8.5 license: BSD3 cabal-version: >= 1.10 license-file: LICENSE