doc for getCompilerOptions.

This commit is contained in:
Kazu Yamamoto 2013-09-20 10:30:51 +09:00
parent 560f081727
commit 43f49f7abe
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -8,8 +8,8 @@ module Language.Haskell.GhcMod.Internal (
, IncludeDir
, CompilerOptions(..)
-- * Cabal API
, getCompilerOptions
, parseCabalFile
, getCompilerOptions
, cabalAllBuildInfo
, cabalDependPackages
, cabalSourceDirs