Commit 8dabe0e9 authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files

app-editors/leksah-server: update patch for world where ghc-7.8 is shipped with transformers-0.4


Signed-off-by: default avatarSergei Trofimovich <siarheit@google.com>
parent 4ea97659
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
import HscStats (ppSourceStats) import HscStats (ppSourceStats)
#if MIN_VERSION_ghc(7,2,0) #if MIN_VERSION_ghc(7,2,0)
-#if !MIN_VERSION_ghc(7,7,0) -#if !MIN_VERSION_ghc(7,7,0)
+#if !MIN_VERSION_ghc(7,7,0) || MIN_VERSION_transformers(0,4,0) +#if !MIN_VERSION_transformers(0,4,0)
import GhcMonad (Ghc(..)) import GhcMonad (Ghc(..))
#endif #endif
import SrcLoc (mkRealSrcLoc) import SrcLoc (mkRealSrcLoc)
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
import Data.Monoid ((<>)) import Data.Monoid ((<>))
-#if !MIN_VERSION_ghc(7,7,0) -#if !MIN_VERSION_ghc(7,7,0)
+#if !MIN_VERSION_ghc(7,7,0) || MIN_VERSION_transformers(0,4,0) +#if !MIN_VERSION_transformers(0,4,0)
-- this should not be repeated here, why is it necessary? -- this should not be repeated here, why is it necessary?
instance MonadIO Ghc where instance MonadIO Ghc where
liftIO ioA = Ghc $ \_ -> ioA liftIO ioA = Ghc $ \_ -> ioA
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment