2013-05-21 12:38:19 +00:00
|
|
|
-- | The ghc-mod library.
|
|
|
|
|
2017-01-12 15:36:47 +00:00
|
|
|
module GhcMod (
|
2013-05-20 02:29:44 +00:00
|
|
|
-- * Cradle
|
|
|
|
Cradle(..)
|
2015-09-11 01:48:52 +00:00
|
|
|
, Project(..)
|
2013-05-20 02:29:44 +00:00
|
|
|
, findCradle
|
|
|
|
-- * Options
|
|
|
|
, Options(..)
|
2013-09-03 05:47:34 +00:00
|
|
|
, LineSeparator(..)
|
2013-05-20 02:29:44 +00:00
|
|
|
, OutputStyle(..)
|
2015-05-31 08:32:46 +00:00
|
|
|
, FileMapping(..)
|
2013-05-20 02:29:44 +00:00
|
|
|
, defaultOptions
|
2015-03-03 20:12:43 +00:00
|
|
|
-- * Logging
|
|
|
|
, GmLogLevel
|
|
|
|
, increaseLogLevel
|
2015-03-06 18:46:56 +00:00
|
|
|
, decreaseLogLevel
|
2015-03-03 20:12:43 +00:00
|
|
|
, gmSetLogLevel
|
|
|
|
, gmLog
|
2013-05-20 05:28:56 +00:00
|
|
|
-- * Types
|
|
|
|
, ModuleString
|
2015-06-01 15:10:37 +00:00
|
|
|
, Expression(..)
|
2014-07-11 01:10:37 +00:00
|
|
|
, GhcPkgDb
|
2014-07-17 05:04:28 +00:00
|
|
|
, Symbol
|
|
|
|
, SymbolDb
|
2014-08-21 02:14:32 +00:00
|
|
|
, GhcModError(..)
|
2014-07-18 06:31:42 +00:00
|
|
|
-- * Monad Types
|
|
|
|
, GhcModT
|
|
|
|
, IOish
|
|
|
|
-- * Monad utilities
|
|
|
|
, runGhcModT
|
|
|
|
, withOptions
|
2015-08-05 06:52:52 +00:00
|
|
|
, dropSession
|
2014-07-11 01:10:37 +00:00
|
|
|
-- * 'GhcMod' utilities
|
|
|
|
, boot
|
2014-05-10 13:10:34 +00:00
|
|
|
, browse
|
2014-07-11 01:10:37 +00:00
|
|
|
, check
|
2013-05-17 01:00:01 +00:00
|
|
|
, checkSyntax
|
2013-05-20 05:28:56 +00:00
|
|
|
, debugInfo
|
2015-03-28 01:33:42 +00:00
|
|
|
, componentInfo
|
2014-07-11 01:10:37 +00:00
|
|
|
, expandTemplate
|
|
|
|
, info
|
|
|
|
, lint
|
|
|
|
, pkgDoc
|
|
|
|
, rootInfo
|
|
|
|
, types
|
2015-12-15 23:25:15 +00:00
|
|
|
, test
|
2014-07-11 01:10:37 +00:00
|
|
|
, splits
|
|
|
|
, sig
|
2014-07-17 04:59:10 +00:00
|
|
|
, refine
|
2014-08-01 15:08:23 +00:00
|
|
|
, auto
|
2014-07-11 01:10:37 +00:00
|
|
|
, modules
|
|
|
|
, languages
|
|
|
|
, flags
|
2014-07-18 06:42:05 +00:00
|
|
|
, findSymbol
|
|
|
|
, lookupSymbol
|
|
|
|
, dumpSymbol
|
2014-07-17 05:04:28 +00:00
|
|
|
-- * SymbolDb
|
|
|
|
, loadSymbolDb
|
2014-09-20 03:25:46 +00:00
|
|
|
, isOutdated
|
2015-08-13 04:47:12 +00:00
|
|
|
-- * Output
|
|
|
|
, gmPutStr
|
|
|
|
, gmErrStr
|
|
|
|
, gmPutStrLn
|
|
|
|
, gmErrStrLn
|
2015-05-31 08:32:46 +00:00
|
|
|
-- * FileMapping
|
2015-08-11 16:39:23 +00:00
|
|
|
, loadMappedFile
|
2015-08-16 20:20:00 +00:00
|
|
|
, loadMappedFileSource
|
2015-08-11 16:39:23 +00:00
|
|
|
, unloadMappedFile
|
2013-05-17 01:00:01 +00:00
|
|
|
) where
|
|
|
|
|
2017-05-28 02:22:56 +00:00
|
|
|
import GhcMod.Exe.Boot
|
|
|
|
import GhcMod.Exe.Browse
|
|
|
|
import GhcMod.Exe.CaseSplit
|
|
|
|
import GhcMod.Exe.Check
|
|
|
|
import GhcMod.Exe.Debug
|
|
|
|
import GhcMod.Exe.FillSig
|
|
|
|
import GhcMod.Exe.Find
|
|
|
|
import GhcMod.Exe.Flag
|
|
|
|
import GhcMod.Exe.Info
|
|
|
|
import GhcMod.Exe.Lang
|
|
|
|
import GhcMod.Exe.Lint
|
|
|
|
import GhcMod.Exe.Modules
|
|
|
|
import GhcMod.Exe.PkgDoc
|
|
|
|
import GhcMod.Exe.Test
|
|
|
|
import GhcMod.Cradle
|
|
|
|
import GhcMod.FileMapping
|
|
|
|
import GhcMod.Logging
|
|
|
|
import GhcMod.Monad
|
|
|
|
import GhcMod.Output
|
|
|
|
import GhcMod.Target
|
|
|
|
import GhcMod.Types
|