From 913fb7291195ed907803f289c3affbded785b8e8 Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Mon, 28 Apr 2014 21:47:08 +0900 Subject: [PATCH] ErrMsg -> Logger. --- Language/Haskell/GhcMod/Check.hs | 2 +- Language/Haskell/GhcMod/Internal.hs | 2 +- Language/Haskell/GhcMod/Lint.hs | 2 +- Language/Haskell/GhcMod/Logger.hs | 2 +- ghc-mod.cabal | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Language/Haskell/GhcMod/Check.hs b/Language/Haskell/GhcMod/Check.hs index 5843dac..b720f8d 100644 --- a/Language/Haskell/GhcMod/Check.hs +++ b/Language/Haskell/GhcMod/Check.hs @@ -7,9 +7,9 @@ module Language.Haskell.GhcMod.Check ( import Control.Applicative ((<$>)) import GHC (Ghc) -import Language.Haskell.GhcMod.ErrMsg import Language.Haskell.GhcMod.GHCApi import qualified Language.Haskell.GhcMod.Gap as Gap +import Language.Haskell.GhcMod.Logger import Language.Haskell.GhcMod.Types ---------------------------------------------------------------- diff --git a/Language/Haskell/GhcMod/Internal.hs b/Language/Haskell/GhcMod/Internal.hs index 902dc41..2c5e910 100644 --- a/Language/Haskell/GhcMod/Internal.hs +++ b/Language/Haskell/GhcMod/Internal.hs @@ -36,7 +36,7 @@ module Language.Haskell.GhcMod.Internal ( ) where import Language.Haskell.GhcMod.CabalApi -import Language.Haskell.GhcMod.ErrMsg import Language.Haskell.GhcMod.GHCApi import Language.Haskell.GhcMod.GHCChoice +import Language.Haskell.GhcMod.Logger import Language.Haskell.GhcMod.Types diff --git a/Language/Haskell/GhcMod/Lint.hs b/Language/Haskell/GhcMod/Lint.hs index d70baf3..49a54f4 100644 --- a/Language/Haskell/GhcMod/Lint.hs +++ b/Language/Haskell/GhcMod/Lint.hs @@ -2,7 +2,7 @@ module Language.Haskell.GhcMod.Lint where import Control.Applicative ((<$>)) import Control.Exception (handle, SomeException(..)) -import Language.Haskell.GhcMod.ErrMsg (checkErrorPrefix) +import Language.Haskell.GhcMod.Logger (checkErrorPrefix) import Language.Haskell.GhcMod.Types import Language.Haskell.HLint (hlint) diff --git a/Language/Haskell/GhcMod/Logger.hs b/Language/Haskell/GhcMod/Logger.hs index 5bb4649..43563fd 100644 --- a/Language/Haskell/GhcMod/Logger.hs +++ b/Language/Haskell/GhcMod/Logger.hs @@ -1,6 +1,6 @@ {-# LANGUAGE BangPatterns, CPP #-} -module Language.Haskell.GhcMod.ErrMsg ( +module Language.Haskell.GhcMod.Logger ( withLogger , checkErrorPrefix ) where diff --git a/ghc-mod.cabal b/ghc-mod.cabal index d3216ee..f7edb9d 100644 --- a/ghc-mod.cabal +++ b/ghc-mod.cabal @@ -54,13 +54,13 @@ Library Language.Haskell.GhcMod.Cradle Language.Haskell.GhcMod.Debug Language.Haskell.GhcMod.Doc - Language.Haskell.GhcMod.ErrMsg + Language.Haskell.GhcMod.Find Language.Haskell.GhcMod.Flag Language.Haskell.GhcMod.GHCApi - Language.Haskell.GhcMod.Find Language.Haskell.GhcMod.GHCChoice Language.Haskell.GhcMod.Gap Language.Haskell.GhcMod.GhcPkg + Language.Haskell.GhcMod.Logger Language.Haskell.GhcMod.Info Language.Haskell.GhcMod.Lang Language.Haskell.GhcMod.Lint