diff --git a/Check.hs b/Check.hs index ca6687e..6807ff1 100644 --- a/Check.hs +++ b/Check.hs @@ -1,6 +1,7 @@ module Check (checkSyntax) where import Cabal +import CabalDev (modifyOptions) import Control.Applicative import CoreMonad import ErrMsg @@ -9,12 +10,9 @@ import GHC import Prelude hiding (catch) import Types -import CabalDev (modifyOptions) - ---------------------------------------------------------------- checkSyntax :: Options -> String -> IO String ---checkSyntax opt file = unlines <$> check opt file checkSyntax opt file = do opt' <- modifyOptions opt unlines <$> check opt' file