2013-05-21 12:38:19 +00:00
|
|
|
-- | The ghc-mod library.
|
|
|
|
|
2013-05-17 01:00:01 +00:00
|
|
|
module Language.Haskell.GhcMod (
|
2013-05-20 02:29:44 +00:00
|
|
|
-- * Cradle
|
|
|
|
Cradle(..)
|
|
|
|
, findCradle
|
|
|
|
-- * GHC version
|
2013-05-20 05:28:56 +00:00
|
|
|
, GHCVersion
|
2013-05-20 02:29:44 +00:00
|
|
|
, getGHCVersion
|
|
|
|
-- * Options
|
|
|
|
, Options(..)
|
2013-09-03 05:47:34 +00:00
|
|
|
, LineSeparator(..)
|
2013-05-20 02:29:44 +00:00
|
|
|
, OutputStyle(..)
|
|
|
|
, defaultOptions
|
2013-05-20 05:28:56 +00:00
|
|
|
-- * Types
|
|
|
|
, ModuleString
|
|
|
|
, Expression
|
2013-05-20 02:29:44 +00:00
|
|
|
-- * 'IO' utilities
|
|
|
|
, browseModule
|
2013-05-17 01:00:01 +00:00
|
|
|
, checkSyntax
|
2013-05-20 05:28:56 +00:00
|
|
|
, lintSyntax
|
2013-05-17 01:00:01 +00:00
|
|
|
, infoExpr
|
|
|
|
, typeExpr
|
|
|
|
, listModules
|
2013-05-20 02:29:44 +00:00
|
|
|
, listLanguages
|
2013-05-17 01:00:01 +00:00
|
|
|
, listFlags
|
2013-05-20 05:28:56 +00:00
|
|
|
, debugInfo
|
2013-05-20 02:29:44 +00:00
|
|
|
-- * Converting the 'Ghc' monad to the 'IO' monad
|
2013-05-18 21:16:37 +00:00
|
|
|
, withGHC
|
2013-05-20 02:29:44 +00:00
|
|
|
, withGHCDummyFile
|
|
|
|
-- * 'Ghc' utilities
|
|
|
|
, browse
|
|
|
|
, check
|
|
|
|
, info
|
|
|
|
, typeOf
|
2013-05-20 05:28:56 +00:00
|
|
|
, listMods
|
|
|
|
, debug
|
2013-05-17 01:00:01 +00:00
|
|
|
) where
|
|
|
|
|
|
|
|
import Language.Haskell.GhcMod.Browse
|
|
|
|
import Language.Haskell.GhcMod.Check
|
|
|
|
import Language.Haskell.GhcMod.Cradle
|
|
|
|
import Language.Haskell.GhcMod.Debug
|
|
|
|
import Language.Haskell.GhcMod.Flag
|
2013-05-18 21:16:37 +00:00
|
|
|
import Language.Haskell.GhcMod.GHCApi
|
2013-05-17 01:00:01 +00:00
|
|
|
import Language.Haskell.GhcMod.Info
|
|
|
|
import Language.Haskell.GhcMod.Lang
|
|
|
|
import Language.Haskell.GhcMod.Lint
|
|
|
|
import Language.Haskell.GhcMod.List
|
|
|
|
import Language.Haskell.GhcMod.Types
|
|
|
|
import Language.Haskell.GhcMod.CabalApi
|