46 lines
990 B
Haskell
46 lines
990 B
Haskell
-- | Low level access to the ghc-mod library.
|
|
|
|
module Language.Haskell.GhcMod.Internal (
|
|
-- * Types
|
|
LogReader
|
|
, GHCOption
|
|
, Package
|
|
, IncludeDir
|
|
, CompilerOptions(..)
|
|
-- * Cradle
|
|
, userPackageDbOptsForGhc
|
|
, userPackageDbOptsForGhcPkg
|
|
-- * Cabal API
|
|
, parseCabalFile
|
|
, getCompilerOptions
|
|
, cabalAllBuildInfo
|
|
, cabalDependPackages
|
|
, cabalSourceDirs
|
|
, cabalAllTargets
|
|
-- * IO
|
|
, getSystemLibDir
|
|
, getDynamicFlags
|
|
-- * Initializing 'DynFlags'
|
|
, initializeFlags
|
|
, initializeFlagsWithCradle
|
|
-- * 'Ghc' Monad
|
|
, setTargetFiles
|
|
, addTargetFiles
|
|
, handleErrMsg
|
|
, browseAll
|
|
-- * 'Ghc' Choice
|
|
, (||>)
|
|
, goNext
|
|
, runAnyOne
|
|
-- * 'GhcMonad' Choice
|
|
, (|||>)
|
|
) where
|
|
|
|
import Language.Haskell.GhcMod.Browse
|
|
import Language.Haskell.GhcMod.CabalApi
|
|
import Language.Haskell.GhcMod.Cradle
|
|
import Language.Haskell.GhcMod.ErrMsg
|
|
import Language.Haskell.GhcMod.GHCApi
|
|
import Language.Haskell.GhcMod.GHCChoice
|
|
import Language.Haskell.GhcMod.Types
|