diff --git a/Language/Haskell/GhcMod/CabalApi.hs b/Language/Haskell/GhcMod/CabalApi.hs index 270a654..49e2199 100644 --- a/Language/Haskell/GhcMod/CabalApi.hs +++ b/Language/Haskell/GhcMod/CabalApi.hs @@ -33,6 +33,7 @@ import System.FilePath ---------------------------------------------------------------- +-- | Getting necessary 'CompilerOptions' from three information sources. getCompilerOptions :: [GHCOption] -> Cradle -> PackageDescription -> IO CompilerOptions getCompilerOptions ghcopts cradle pkgDesc = do gopts <- getGHCOptions ghcopts cdir $ head buildInfos diff --git a/Language/Haskell/GhcMod/Internal.hs b/Language/Haskell/GhcMod/Internal.hs index 6991f1a..068fad5 100644 --- a/Language/Haskell/GhcMod/Internal.hs +++ b/Language/Haskell/GhcMod/Internal.hs @@ -8,8 +8,8 @@ module Language.Haskell.GhcMod.Internal ( , IncludeDir , CompilerOptions(..) -- * Cabal API - , getCompilerOptions , parseCabalFile + , getCompilerOptions , cabalAllBuildInfo , cabalDependPackages , cabalSourceDirs