Commit 52b19881 authored by Simon Jakobi's avatar Simon Jakobi
Browse files

Remove instance for Data.Semigroup.Option for GHC >= 9.2

Corresponding GHC MR:
ghc/ghc!4945
parent f797e935
......@@ -816,10 +816,12 @@ instance Binary a => Binary (Semigroup.Last a) where
get = fmap Semigroup.Last get
put = put . Semigroup.getLast
#if __GLASGOW_HASKELL__ < 901
-- | @since 0.8.4.0
instance Binary a => Binary (Semigroup.Option a) where
get = fmap Semigroup.Option get
put = put . Semigroup.getOption
#endif
-- | @since 0.8.4.0
instance Binary m => Binary (Semigroup.WrappedMonoid m) where
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment