-
Notifications
You must be signed in to change notification settings - Fork 60
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
template-haskell-2.10: unbound type variables #52
Comments
Here is the output code with the ugly extensions removed:
|
Here is the output of ghc-7.8, cleaned up similarly:
|
I don't really know if this is a template-haskell-2.10 issue or a base-4.8 issue. |
Ok, now I understand this problem. First, there are missing superclasses in the code above, and it now needs the TypeFamilies directive:
Now we get these messages:
This is because makeAcidic throws away kinded type variables where I suspect it should treat them the same way it does plain type variables. Now that I poke around, it looks like I proposed a solution in #53, now I have pull request #56 as well. |
This is still an issue.
breaks with
generated splice:
|
With or without my patch in pull request #56? |
Ah, I misunderstood it to be merged. With the patch applied this example
actually compiles. Yay!
I say `acid-state` TH needs tests. And all these examples here should be
in there.
|
With ghc-7.10.1, the module below fails to compile:
The messages:
The text was updated successfully, but these errors were encountered: