Commit 7d5ac39e authored by Andrew Gibiansky's avatar Andrew Gibiansky

Merge pull request #193 from PierreR/master

Fix #192: compilation failure with classy-prelude 0.8
parents 86db7eff 2c2249e6
...@@ -11,7 +11,7 @@ This has a limited amount of context sensitivity. It distinguishes between four ...@@ -11,7 +11,7 @@ This has a limited amount of context sensitivity. It distinguishes between four
-} -}
module IHaskell.Eval.Completion (complete, completionTarget, completionType, CompletionType(..)) where module IHaskell.Eval.Completion (complete, completionTarget, completionType, CompletionType(..)) where
import ClassyPrelude hiding (liftIO) import ClassyPrelude hiding (init, last, head, liftIO)
--import Prelude --import Prelude
import Control.Applicative ((<$>)) import Control.Applicative ((<$>))
......
...@@ -9,7 +9,7 @@ module IHaskell.Eval.Evaluate ( ...@@ -9,7 +9,7 @@ module IHaskell.Eval.Evaluate (
interpret, evaluate, Interpreter, liftIO, typeCleaner, globalImports interpret, evaluate, Interpreter, liftIO, typeCleaner, globalImports
) where ) where
import ClassyPrelude hiding (liftIO, hGetContents, try) import ClassyPrelude hiding (init, last, liftIO, head, hGetContents, tail, try)
import Control.Concurrent (forkIO, threadDelay) import Control.Concurrent (forkIO, threadDelay)
import Prelude (putChar, head, tail, last, init, (!!)) import Prelude (putChar, head, tail, last, init, (!!))
import Data.List.Utils import Data.List.Utils
......
...@@ -7,7 +7,7 @@ module IHaskell.Eval.Hoogle ( ...@@ -7,7 +7,7 @@ module IHaskell.Eval.Hoogle (
HoogleResult HoogleResult
) where ) where
import ClassyPrelude hiding (span, div) import ClassyPrelude hiding (last, span, div)
import Text.Printf import Text.Printf
import Network.HTTP import Network.HTTP
import Data.Aeson import Data.Aeson
......
...@@ -15,7 +15,7 @@ module IHaskell.Eval.Parser ( ...@@ -15,7 +15,7 @@ module IHaskell.Eval.Parser (
) where ) where
-- Hide 'unlines' to use our own 'joinLines' instead. -- Hide 'unlines' to use our own 'joinLines' instead.
import ClassyPrelude hiding (liftIO, unlines) import ClassyPrelude hiding (head, tail, liftIO, unlines)
import Data.List (findIndex, maximumBy, maximum, inits) import Data.List (findIndex, maximumBy, maximum, inits)
import Data.String.Utils (startswith, strip, split) import Data.String.Utils (startswith, strip, split)
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
module Main where module Main where
-- Prelude imports. -- Prelude imports.
import ClassyPrelude hiding (liftIO) import ClassyPrelude hiding (last, liftIO)
import Prelude (last, read) import Prelude (last, read)
-- Standard library imports. -- Standard library imports.
......
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