groups 0.5.2 → 0.5.3
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- groups.cabal +1/−1
- src/Data/Group.hs +1/−1
groups.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: groups-version: 0.5.2+version: 0.5.3 synopsis: Groups description: A group is a monoid with invertibility.
src/Data/Group.hs view
@@ -148,7 +148,7 @@ generated' = unfoldr go (generator, 0 :: Integer) where go (a, n)- | a == mempty, n > 0 = Nothing+ | a == generator, n > 0 = Nothing | otherwise = Just (a, (a <> generator, succ n)) instance Cyclic () where