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

53 lines
1.1 KiB
Haskell
Raw Normal View History

-- | Low level access to the ghc-mod library.
module Language.Haskell.GhcMod.Internal (
2013-09-16 09:56:08 +09:00
-- * Types
2014-04-28 21:43:24 +09:00
GHCOption
2013-09-16 09:56:08 +09:00
, Package
2014-04-24 12:17:50 +09:00
, PackageBaseName
, PackageVersion
, PackageId
2013-09-16 09:56:08 +09:00
, IncludeDir
-- * Various Paths
, ghcLibDir
, ghcModExecutable
2014-04-28 13:52:28 +09:00
-- * Logging
, withLogger
2014-08-19 17:18:36 +09:00
, setNoWarningFlags
, setAllWarningFlags
2014-07-18 15:42:05 +09:00
-- * Environment, state and logging
, GhcModEnv(..)
, GhcModState
2014-07-22 19:45:48 +02:00
, CompilerMode(..)
, GhcModLog
2014-07-18 15:42:05 +09:00
-- * Monad utilities
, runGhcModT'
, hoistGhcModT
2014-07-18 15:42:05 +09:00
-- ** Accessing 'GhcModEnv' and 'GhcModState'
, options
, cradle
2014-07-22 19:45:48 +02:00
, getCompilerMode
, setCompilerMode
2014-07-18 15:42:05 +09:00
, withOptions
-- * 'GhcModError'
, gmeDoc
2014-09-23 17:34:09 +09:00
-- * World
, World
, getCurrentWorld
2014-11-01 22:02:47 +01:00
, didWorldChange
) where
import GHC.Paths (libdir)
import Language.Haskell.GhcMod.DynFlags
import Language.Haskell.GhcMod.Error
2014-04-28 21:47:08 +09:00
import Language.Haskell.GhcMod.Logger
2014-07-18 15:42:05 +09:00
import Language.Haskell.GhcMod.Monad
import Language.Haskell.GhcMod.Types
import Language.Haskell.GhcMod.Utils
2014-11-01 22:02:47 +01:00
import Language.Haskell.GhcMod.World
-- | Obtaining the directory for ghc system libraries.
ghcLibDir :: FilePath
ghcLibDir = libdir