-
Notifications
You must be signed in to change notification settings - Fork 65
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
Fails with GHC-7.8.4 and installed transformers #173
Comments
See my comments here as to why this is happening. |
@RyanGlScott I don't see how that is related. Note that in recent #172 |
Let's take a closer look at the CPP: #ifndef MIN_VERSION_base
#define MIN_VERSION_base(x,y,z) 1
#endif
#ifndef MIN_VERSION_mtl
#define MIN_VERSION_mtl(x,y,z) 1
#endif
#if MIN_VERSION_base(4,9,0)
...
#else
#if MIN_VERSION_transformers(0,5,0)
...
#else
#if MIN_VERSION_transformers_compat(0,5,0) && !MIN_VERSION_transformers(0,4,0)
...
#endif
#endif
#endif GHC 7.8.4 comes bundled with In that case, I have to wonder if this CPP needs to be updated to reflect |
diff --git a/include/free-common.h b/include/free-common.h
index 220394d..fdaa8bf 100644
--- a/include/free-common.h
+++ b/include/free-common.h
@@ -12,8 +12,5 @@
#if MIN_VERSION_transformers(0,5,0)
#define LIFTED_FUNCTOR_CLASSES 1
#else
-#if MIN_VERSION_transformers_compat(0,5,0) && !MIN_VERSION_transformers(0,4,0)
-#define LIFTED_FUNCTOR_CLASSES 1
-#endif
#endif
#endif
it's not about that CPP, the rest of |
OK. In that case, I have to ask: why was the |
Would it suffice to just add:
Back to the |
in https://github.com/ekmett/recursion-schemes/pull/46/files#diff-14ead692b66720cacc174e7be4d60386R61 I require that with GHC-7.10 we have at least |
OK, this is evidently more involved than I thought :) Do you mind putting up a patch which does the right thing? |
The text was updated successfully, but these errors were encountered: