diff --git a/Language/Haskell/GhcMod/Monad.hs b/Language/Haskell/GhcMod/Monad.hs index 7457d72..5df48c4 100644 --- a/Language/Haskell/GhcMod/Monad.hs +++ b/Language/Haskell/GhcMod/Monad.hs @@ -124,6 +124,7 @@ withErrorHandler label = ghandle ignore hPrint stderr e exitSuccess +-- | This is only a transitional mechanism don't use it for new code. toGhcMod :: Ghc a -> GhcMod a toGhcMod a = do s <- gmGhcSession <$> ask