From d7b260fef51564a1c87838df391d1367207d9e12 Mon Sep 17 00:00:00 2001 From: Moritz Angermann Date: Sat, 23 Sep 2017 21:21:45 +0800 Subject: [Semigroup] fix genapply Summary: The SMP causes <> to be exported from Prelude by default. When building HEAD with HEAD, genapply suffers from <> being imported from Prelude. Reviewers: hvr, bgamari, austin Reviewed By: hvr Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D4015 --- utils/genapply/Main.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'utils') diff --git a/utils/genapply/Main.hs b/utils/genapply/Main.hs index 90ae5d7ac0..9248c224b8 100644 --- a/utils/genapply/Main.hs +++ b/utils/genapply/Main.hs @@ -19,6 +19,10 @@ module Main(main) where -- Needed for TAG_BITS #include "../../includes/MachDeps.h" +#if MIN_VERSION_base(4,11,0) +import Prelude hiding ((<>)) +#endif + import Text.PrettyPrint import Data.Word import Data.Bits -- cgit v1.2.1