APIs in Ghc monad now go to GHCMod.Ghc.
This commit is contained in:
parent
2f55a19d49
commit
1006cd4eec
@ -24,16 +24,6 @@ module Language.Haskell.GhcMod (
|
||||
, debugInfo
|
||||
, rootInfo
|
||||
, packageDoc
|
||||
-- * Converting the 'Ghc' monad to the 'IO' monad
|
||||
, withGHC
|
||||
, withGHCDummyFile
|
||||
-- * 'Ghc' utilities
|
||||
, browse
|
||||
, check
|
||||
, info
|
||||
, typeOf
|
||||
, modules
|
||||
, lint
|
||||
) where
|
||||
|
||||
import Language.Haskell.GhcMod.Browse
|
||||
@ -41,7 +31,6 @@ import Language.Haskell.GhcMod.Check
|
||||
import Language.Haskell.GhcMod.Cradle
|
||||
import Language.Haskell.GhcMod.Debug
|
||||
import Language.Haskell.GhcMod.Flag
|
||||
import Language.Haskell.GhcMod.GHCApi
|
||||
import Language.Haskell.GhcMod.Info
|
||||
import Language.Haskell.GhcMod.Lang
|
||||
import Language.Haskell.GhcMod.Lint
|
||||
|
19
Language/Haskell/GhcMod/Ghc.hs
Normal file
19
Language/Haskell/GhcMod/Ghc.hs
Normal file
@ -0,0 +1,19 @@
|
||||
module Language.Haskell.GhcMod.Ghc (
|
||||
-- * Converting the 'Ghc' monad to the 'IO' monad
|
||||
withGHC
|
||||
, withGHCDummyFile
|
||||
-- * 'Ghc' utilities
|
||||
, browse
|
||||
, check
|
||||
, info
|
||||
, typeOf
|
||||
, modules
|
||||
, lint
|
||||
) where
|
||||
|
||||
import Language.Haskell.GhcMod.Browse
|
||||
import Language.Haskell.GhcMod.Check
|
||||
import Language.Haskell.GhcMod.GHCApi
|
||||
import Language.Haskell.GhcMod.Info
|
||||
import Language.Haskell.GhcMod.Lint
|
||||
import Language.Haskell.GhcMod.List
|
@ -46,6 +46,7 @@ Library
|
||||
Default-Language: Haskell2010
|
||||
GHC-Options: -Wall
|
||||
Exposed-Modules: Language.Haskell.GhcMod
|
||||
Language.Haskell.GhcMod.Ghc
|
||||
Language.Haskell.GhcMod.Internal
|
||||
Other-Modules: Language.Haskell.GhcMod.Browse
|
||||
Language.Haskell.GhcMod.CabalApi
|
||||
|
@ -45,6 +45,7 @@ import GHC (Ghc, LoadHowMuch(LoadAllTargets), TargetId(TargetFile))
|
||||
import qualified GHC as G
|
||||
import HscTypes (SourceError)
|
||||
import Language.Haskell.GhcMod
|
||||
import Language.Haskell.GhcMod.Ghc
|
||||
import Language.Haskell.GhcMod.Internal
|
||||
import Paths_ghc_mod
|
||||
import System.Console.GetOpt
|
||||
|
Loading…
Reference in New Issue
Block a user