mirror of
https://github.com/haskell/haskell-ide-engine.git
synced 2024-09-11 11:05:30 +03:00
Remove unused old code
This commit is contained in:
parent
6cbadc75cf
commit
5dfc44637e
@ -344,12 +344,6 @@ getDiagnosticProvidersConfig c = Map.fromList [("applyrefact",hlintOn c)
|
||||
-- | IdeM that allows for interaction with the Ghc session
|
||||
type IdeGhcM = GhcT IdeM
|
||||
|
||||
--instance GM.MonadIO (GhcT IdeM) where
|
||||
-- liftIO = liftIO
|
||||
--instance ExceptionMonad IdeM where
|
||||
-- gcatch = _
|
||||
-- gmask = _
|
||||
|
||||
-- | Run an IdeGhcM with Cradle found from the current directory
|
||||
runIdeGhcM :: IdePlugins -> Maybe (Core.LspFuncs Config) -> TVar IdeState -> IdeGhcM a -> IO a
|
||||
runIdeGhcM plugins mlf stateVar f = do
|
||||
@ -503,9 +497,6 @@ instance MonadMTState IdeState IdeM where
|
||||
class (Monad m) => LiftsToGhc m where
|
||||
liftToGhc :: m a -> IdeGhcM a
|
||||
|
||||
--instance GM.MonadIO IdeDeferM where
|
||||
-- liftIO = liftIO
|
||||
|
||||
instance LiftsToGhc IdeM where
|
||||
liftToGhc = lift
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user