[commit: packages/haskeline] master: Add a "forall" quantifier before rank-n-types (2d3e35d)
git at git.haskell.org
git at git.haskell.org
Tue Sep 9 16:36:50 UTC 2014
Repository : ssh://git@git.haskell.org/haskeline
On branch : master
Link : http://git.haskell.org/packages/haskeline.git/commitdiff/2d3e35d3e139ee1633956e15f7c30a7feeea08fb
>---------------------------------------------------------------
commit 2d3e35d3e139ee1633956e15f7c30a7feeea08fb
Author: Krzysztof Gogolewski <krz.gogolewski at gmail.com>
Date: Sat Feb 1 22:55:42 2014 +0100
Add a "forall" quantifier before rank-n-types
This is for compatibility with GHC Trac #4426
>---------------------------------------------------------------
2d3e35d3e139ee1633956e15f7c30a7feeea08fb
System/Console/Haskeline/Term.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/System/Console/Haskeline/Term.hs b/System/Console/Haskeline/Term.hs
index a4b2638..9689a16 100644
--- a/System/Console/Haskeline/Term.hs
+++ b/System/Console/Haskeline/Term.hs
@@ -40,7 +40,7 @@ data RunTerm = RunTerm {
-- | Operations needed for terminal-style interaction.
data TermOps = TermOps {
getLayout :: IO Layout
- , withGetEvent :: CommandMonad m => (m Event -> m a) -> m a
+ , withGetEvent :: forall m a . CommandMonad m => (m Event -> m a) -> m a
, evalTerm :: forall m . CommandMonad m => EvalTerm m
, saveUnusedKeys :: [Key] -> IO ()
}
More information about the ghc-commits
mailing list