From 9631a3d1ba6692722e3daab81da8d5378c02ef9d Mon Sep 17 00:00:00 2001 From: Jonas Scholl Date: Wed, 11 Jul 2018 22:37:18 +0200 Subject: [PATCH] Update for base-4.11 compatibility. --- Language/SQL/SimpleSQL/Pretty.lhs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Language/SQL/SimpleSQL/Pretty.lhs b/Language/SQL/SimpleSQL/Pretty.lhs index eff2a87..52aaa15 100644 --- a/Language/SQL/SimpleSQL/Pretty.lhs +++ b/Language/SQL/SimpleSQL/Pretty.lhs @@ -1,4 +1,5 @@ +> {-# LANGUAGE CPP #-} > -- | These is the pretty printing functions, which produce SQL > -- source from ASTs. The code attempts to format the output in a > -- readable way. @@ -9,6 +10,12 @@ > ,prettyStatements > ) where +#if MIN_VERSION_base(4,11,0) + +> import Prelude hiding ((<>)) + +#endif + TODO: there should be more comments in this file, especially the bits which have been changed to try to improve the layout of the output.