42 lines
879 B
Haskell
42 lines
879 B
Haskell
-- | Low level access to the ghc-mod library.
|
|
|
|
module Language.Haskell.GhcMod.Internal (
|
|
-- * Types
|
|
LogReader
|
|
, GHCOption
|
|
, Package
|
|
, IncludeDir
|
|
, CompilerOptions(..)
|
|
-- * 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.ErrMsg
|
|
import Language.Haskell.GhcMod.GHCApi
|
|
import Language.Haskell.GhcMod.GHCChoice
|
|
import Language.Haskell.GhcMod.Types
|