doc for getCompilerOptions.
This commit is contained in:
parent
560f081727
commit
43f49f7abe
@ -33,6 +33,7 @@ import System.FilePath
|
|||||||
|
|
||||||
----------------------------------------------------------------
|
----------------------------------------------------------------
|
||||||
|
|
||||||
|
-- | Getting necessary 'CompilerOptions' from three information sources.
|
||||||
getCompilerOptions :: [GHCOption] -> Cradle -> PackageDescription -> IO CompilerOptions
|
getCompilerOptions :: [GHCOption] -> Cradle -> PackageDescription -> IO CompilerOptions
|
||||||
getCompilerOptions ghcopts cradle pkgDesc = do
|
getCompilerOptions ghcopts cradle pkgDesc = do
|
||||||
gopts <- getGHCOptions ghcopts cdir $ head buildInfos
|
gopts <- getGHCOptions ghcopts cdir $ head buildInfos
|
||||||
|
@ -8,8 +8,8 @@ module Language.Haskell.GhcMod.Internal (
|
|||||||
, IncludeDir
|
, IncludeDir
|
||||||
, CompilerOptions(..)
|
, CompilerOptions(..)
|
||||||
-- * Cabal API
|
-- * Cabal API
|
||||||
, getCompilerOptions
|
|
||||||
, parseCabalFile
|
, parseCabalFile
|
||||||
|
, getCompilerOptions
|
||||||
, cabalAllBuildInfo
|
, cabalAllBuildInfo
|
||||||
, cabalDependPackages
|
, cabalDependPackages
|
||||||
, cabalSourceDirs
|
, cabalSourceDirs
|
||||||
|
Loading…
Reference in New Issue
Block a user