unliftio > /.../UnliftIO/Internals/Async.hs:513:3: warning: [-Wnoncanonical-monoid-instances]
unliftio > Noncanonical ‘mappend’ definition detected
unliftio > in the instance declaration for ‘Monoid (Conc m a)’.
unliftio > ‘mappend’ will eventually be removed in favour of ‘(<>)’
unliftio > Either remove definition for ‘mappend’ (recommended) or define as ‘mappend = (<>)’
unliftio > See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/semigroup-monoid
unliftio > |
unliftio > 513 | mappend = liftA2 mappend
When compiling with
ghc-9.2.3
:https://github.com/fpco/unliftio/blob/de13c448e4b77e8ce318b78445e17f6c20003325/unliftio/src/UnliftIO/Internals/Async.hs#L510-L514