Skip to content

Commit 668608e

Browse files
committed
Just get rid of OverlappingInstances
1 parent ae15eba commit 668608e

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Data/Csv/Conversion.hs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
TypeOperators,
1313
UndecidableInstances
1414
#-}
15-
#if __GLASGOW_HASKELL__ < 710
16-
{-# LANGUAGE OverlappingInstances #-}
17-
#endif
1815

1916
module Data.Csv.Conversion
2017
(
@@ -668,11 +665,7 @@ class ToField a where
668665
toField :: a -> Field
669666

670667
-- | 'Nothing' if the 'Field' is 'B.empty', 'Just' otherwise.
671-
instance
672-
#if __GLASGOW_HASKELL__ >= 710
673-
{-# OVERLAPPABLE #-}
674-
#endif
675-
FromField a => FromField (Maybe a) where
668+
instance FromField a => FromField (Maybe a) where
676669
parseField s
677670
| B.null s = pure Nothing
678671
| otherwise = Just <$> parseField s

0 commit comments

Comments
 (0)