Fix GHC 7.10 warnings

This commit is contained in:
Daniel Gröber
2015-08-03 03:09:56 +02:00
parent 160cec86bb
commit f023d939e2
26 changed files with 62 additions and 37 deletions

View File

@@ -8,13 +8,14 @@ module Language.Haskell.GhcMod.GhcPkg (
) where
import Config (cProjectVersion, cTargetPlatformString, cProjectVersionInt)
import Control.Applicative ((<$>))
import Control.Applicative
import Data.List.Split (splitOn)
import Data.Maybe
import Exception (handleIO)
import Language.Haskell.GhcMod.Types
import System.Directory (doesDirectoryExist, getAppUserDataDirectory)
import System.FilePath ((</>))
import Prelude
ghcVersion :: Int
ghcVersion = read cProjectVersionInt