From 86a7f954e3dca75df9eb33d6a4359fb49825dd44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gr=C3=B6ber?= Date: Fri, 27 Jun 2014 19:31:34 +0200 Subject: [PATCH] Add a comment discouraging the use of `toGhcMod` in new code --- Language/Haskell/GhcMod/Monad.hs | 1 + 1 file changed, 1 insertion(+) 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