Commit b292720c authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺
Browse files

Remove redundant CPP conditionals

It makes little sense to have __GLASGOW_HASKELL__ conditional
code inside GHCi's source-code, as GHCi is only ever build
by the current stage1 GHC, whose version is assumed to be the
same as the GHCi version being built.
parent 09333313
......@@ -55,10 +55,6 @@ import qualified System.Console.Haskeline as Haskeline
import Control.Monad.Trans.Class
import Control.Monad.IO.Class
#if __GLASGOW_HASKELL__ < 709
import Control.Applicative (Applicative(..))
-- GHCi monad
......@@ -82,12 +82,7 @@ import Data.List ( find, group, intercalate, intersperse, isPrefixOf, nub,
import Data.Maybe
import Exception hiding (catch)
#if __GLASGOW_HASKELL__ >= 709
import Foreign
import Foreign.Safe
import System.Directory
import System.Environment
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment