We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5f82649 + 638aabf commit b86e9a7Copy full SHA for b86e9a7
1 file changed
src/Data/Binary/Class.hs
@@ -812,10 +812,12 @@ instance Binary a => Binary (Semigroup.Last a) where
812
get = fmap Semigroup.Last get
813
put = put . Semigroup.getLast
814
815
+#if __GLASGOW_HASKELL__ < 901
816
-- | @since 0.8.4.0
817
instance Binary a => Binary (Semigroup.Option a) where
818
get = fmap Semigroup.Option get
819
put = put . Semigroup.getOption
820
+#endif
821
822
823
instance Binary m => Binary (Semigroup.WrappedMonoid m) where
0 commit comments