Fix -Wnoncanonical-monoid-instances warnings

This commit is contained in:
Tomas Janousek
2021-10-31 17:17:37 +00:00
parent d2f0a0586c
commit d8faed6ad2
5 changed files with 13 additions and 18 deletions

View File

@@ -115,7 +115,6 @@ instance Semigroup a => Semigroup (PureX a) where
(<>) = liftA2 (<>)
instance Monoid a => Monoid (PureX a) where
mappend = liftA2 mappend
mempty = return mempty
-- | The @XLike@ typeclass over monads reading @XConf@ values and tracking