Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 5dfc446

Browse files
committed
Remove unused old code
1 parent 6cbadc7 commit 5dfc446

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

hie-plugin-api/Haskell/Ide/Engine/PluginsIdeMonads.hs

-9
Original file line numberDiff line numberDiff line change
@@ -344,12 +344,6 @@ getDiagnosticProvidersConfig c = Map.fromList [("applyrefact",hlintOn c)
344344
-- | IdeM that allows for interaction with the Ghc session
345345
type IdeGhcM = GhcT IdeM
346346

347-
--instance GM.MonadIO (GhcT IdeM) where
348-
-- liftIO = liftIO
349-
--instance ExceptionMonad IdeM where
350-
-- gcatch = _
351-
-- gmask = _
352-
353347
-- | Run an IdeGhcM with Cradle found from the current directory
354348
runIdeGhcM :: IdePlugins -> Maybe (Core.LspFuncs Config) -> TVar IdeState -> IdeGhcM a -> IO a
355349
runIdeGhcM plugins mlf stateVar f = do
@@ -503,9 +497,6 @@ instance MonadMTState IdeState IdeM where
503497
class (Monad m) => LiftsToGhc m where
504498
liftToGhc :: m a -> IdeGhcM a
505499

506-
--instance GM.MonadIO IdeDeferM where
507-
-- liftIO = liftIO
508-
509500
instance LiftsToGhc IdeM where
510501
liftToGhc = lift
511502

0 commit comments

Comments
 (0)