From c13720c8c6047844f659ad4ce684946b80c99bee Mon Sep 17 00:00:00 2001 From: Ryan Scott Date: Tue, 1 Aug 2017 09:48:52 -0400 Subject: Drop GHC 7.10 compatibility GHC 8.2.1 is out, so now GHC's support window only extends back to GHC 8.0. This means we can delete gobs of code that was only used for GHC 7.10 support. Hooray! Test Plan: ./validate Reviewers: hvr, bgamari, austin, goldfire, simonmar Reviewed By: bgamari Subscribers: Phyx, rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3781 --- compiler/specialise/Specialise.hs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'compiler/specialise') diff --git a/compiler/specialise/Specialise.hs b/compiler/specialise/Specialise.hs index e8c6c28eaf..0fb7eb0472 100644 --- a/compiler/specialise/Specialise.hs +++ b/compiler/specialise/Specialise.hs @@ -43,9 +43,7 @@ import State import UniqDFM import Control.Monad -#if __GLASGOW_HASKELL__ > 710 import qualified Control.Monad.Fail as MonadFail -#endif {- ************************************************************************ @@ -2289,10 +2287,8 @@ instance Monad SpecM where z fail str = SpecM $ fail str -#if __GLASGOW_HASKELL__ > 710 instance MonadFail.MonadFail SpecM where fail str = SpecM $ fail str -#endif instance MonadUnique SpecM where getUniqueSupplyM -- cgit v1.2.1