summaryrefslogtreecommitdiff
path: root/compiler/parser
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/parser')
-rw-r--r--compiler/parser/Lexer.x3
-rw-r--r--compiler/parser/RdrHsSyn.hs4
2 files changed, 0 insertions, 7 deletions
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x
index 1bbbfbf20f..26809db5ad 100644
--- a/compiler/parser/Lexer.x
+++ b/compiler/parser/Lexer.x
@@ -74,9 +74,6 @@ module Lexer (
) where
-- base
-#if __GLASGOW_HASKELL__ < 709
-import Control.Applicative
-#endif
import Control.Monad
#if __GLASGOW_HASKELL__ > 710
import Control.Monad.Fail
diff --git a/compiler/parser/RdrHsSyn.hs b/compiler/parser/RdrHsSyn.hs
index 0f380862a4..c8fd1ae37d 100644
--- a/compiler/parser/RdrHsSyn.hs
+++ b/compiler/parser/RdrHsSyn.hs
@@ -95,11 +95,7 @@ import Data.List
import qualified GHC.LanguageExtensions as LangExt
import MonadUtils
-#if __GLASGOW_HASKELL__ < 709
-import Control.Applicative ((<$>))
-#endif
import Control.Monad
-
import Text.ParserCombinators.ReadP as ReadP
import Data.Char