Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile with 7.6.3 without -XRankNTypes #1

Open
osa1 opened this issue Jul 2, 2013 · 0 comments
Open

Can't compile with 7.6.3 without -XRankNTypes #1

osa1 opened this issue Jul 2, 2013 · 0 comments

Comments

@osa1
Copy link

osa1 commented Jul 2, 2013

MiniKanrenT is failing to compile with GHC 7.6.3. It requires RankNTypes to be enabled while compiling Control/Monad/LogicVarT.hs.

Adding RankNTypes to LANGUAGE pragma works.

diff --git a/src/Control/Monad/LogicVarT.hs b/src/Control/Monad/LogicVarT.hs
index 0d765aa..4a46675 100644
--- a/src/Control/Monad/LogicVarT.hs
+++ b/src/Control/Monad/LogicVarT.hs
@@ -1,5 +1,6 @@
 {-#Language GeneralizedNewtypeDeriving
-          , DeriveDataTypeable #-}
+          , DeriveDataTypeable
+          , RankNTypes #-}
 module Control.Monad.LogicVarT 
   ( LogicVarT
   , LVar, lvarKey, lvarValue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant