Rework GhcModT monad stack
This commit is contained in:
@@ -31,20 +31,18 @@ module Language.Haskell.GhcMod.Internal (
|
||||
, newGhcModEnv
|
||||
, GhcModState
|
||||
, defaultState
|
||||
, Mode(..)
|
||||
, GhcModWriter
|
||||
, CompilerMode(..)
|
||||
, GhcModLog
|
||||
-- * Monad utilities
|
||||
, runGhcMod
|
||||
, runGhcModT'
|
||||
, withErrorHandler
|
||||
-- ** Conversion
|
||||
, liftGhcMod
|
||||
, toGhcModT
|
||||
-- ** Accessing 'GhcModEnv' and 'GhcModState'
|
||||
, options
|
||||
, cradle
|
||||
, getMode
|
||||
, setMode
|
||||
, getCompilerMode
|
||||
, setCompilerMode
|
||||
, withOptions
|
||||
-- * 'Ghc' Choice
|
||||
, (||>)
|
||||
|
||||
Reference in New Issue
Block a user