Skip to content

Commit

Permalink
Remove Monoid compatibilty code for GHC 7.6.x and earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
BardurArantsson committed Nov 16, 2017
1 parent 62bea80 commit 1fcd3ce
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Database/PostgreSQL/Simple/Compat.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1fcd3ce

Please sign in to comment.