We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a3cb079 + b568756 commit 3037bf9Copy full SHA for 3037bf9
src/Data/Monoid/Linear/Internal/Monoid.hs
@@ -106,7 +106,7 @@ instance Monoid (Endo a) where
106
-- See System.IO.Linear for instance ... => Monoid (IO a)
107
-- See System.IO.Resource.Internal for instance ... => Monoid (RIO a)
108
109
-instance Monoid a => Monoid (Maybe a) where
+instance Semigroup a => Monoid (Maybe a) where
110
mempty = Nothing
111
112
-- See Data.List.Linear for instance ... => Monoid [a]
0 commit comments