ghc-mod/Language/Haskell/GhcMod/Internal.hs

48 lines
955 B
Haskell
Raw Normal View History

-- | Low level access to the ghc-mod library.
module Language.Haskell.GhcMod.Internal (
2013-09-16 00:56:08 +00:00
-- * Types
2014-04-28 12:43:24 +00:00
GHCOption
2013-09-16 00:56:08 +00:00
, Package
2014-04-24 03:17:50 +00:00
, PackageBaseName
, PackageVersion
, PackageId
2013-09-16 00:56:08 +00:00
, IncludeDir
2013-09-19 06:58:50 +00:00
, CompilerOptions(..)
2013-09-16 00:56:08 +00:00
-- * Cabal API
, parseCabalFile
2013-09-20 01:30:51 +00:00
, getCompilerOptions
2013-09-16 00:56:08 +00:00
, cabalAllBuildInfo
, cabalDependPackages
, cabalSourceDirs
, cabalAllTargets
-- * GHC.Paths
, ghcLibDir
2014-03-26 03:09:02 +00:00
-- * IO
2013-09-16 00:56:08 +00:00
, getDynamicFlags
2014-04-28 04:52:28 +00:00
-- * Targets
, setTargetFiles
2014-04-28 04:52:28 +00:00
-- * Logging
, withLogger
2014-04-28 03:52:09 +00:00
, setNoWaringFlags
, setAllWaringFlags
2013-09-16 00:56:08 +00:00
-- * 'Ghc' Choice
, (||>)
, goNext
, runAnyOne
-- * 'GhcMonad' Choice
, (|||>)
) where
import GHC.Paths (libdir)
2013-09-16 00:56:08 +00:00
import Language.Haskell.GhcMod.CabalApi
import Language.Haskell.GhcMod.DynFlags
2013-09-16 00:56:08 +00:00
import Language.Haskell.GhcMod.GHCChoice
2014-04-28 12:47:08 +00:00
import Language.Haskell.GhcMod.Logger
import Language.Haskell.GhcMod.Types
-- | Obtaining the directory for ghc system libraries.
ghcLibDir :: FilePath
ghcLibDir = libdir