From 1fcd3ce6be92667390f15f6dc15c0b3c5571bd34 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Wed, 8 Nov 2017 20:06:42 +0100 Subject: [PATCH] Remove Monoid compatibilty code for GHC 7.6.x and earlier --- src/Database/PostgreSQL/Simple/Compat.hs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Database/PostgreSQL/Simple/Compat.hs b/src/Database/PostgreSQL/Simple/Compat.hs index 9cae4d5c..b9838a88 100644 --- a/src/Database/PostgreSQL/Simple/Compat.hs +++ b/src/Database/PostgreSQL/Simple/Compat.hs @@ -60,14 +60,6 @@ mask io = do #endif {-# INLINE mask #-} -#if !MIN_VERSION_base(4,5,0) -infixr 6 <> - -(<>) :: Monoid m => m -> m -> m -(<>) = mappend -{-# INLINE (<>) #-} -#endif - toByteString :: Builder -> ByteString #if MIN_VERSION_bytestring(0,10,0) toByteString x = toStrict (toLazyByteString x)