-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fix the Skolem trick with GHC ≥ 9.4 #7
Conversation
@ncfavier Can you add back the removed tests to "prove it"? |
aa17639
to
91ae597
Compare
Sorry I was really unclear --- add the skipped-over GHC versions (in the cabal file and github actions) to prove it works on them too. |
91ae597
to
4039a28
Compare
This should do it, if there's anything else feel free to push directly to this branch. |
Now there are failures in the older versions? Do we need to conditionally switch between type and data family? |
Using a data family instead of a type family weirdly prevents the `Skolem` constructor from being treated as a metavariable, see https://gitlab.haskell.org/ghc/ghc/-/issues/23743#note_522186
4039a28
to
6614029
Compare
No I was just confused and undid the wrong thing. |
until obsidiansystems/dependent-sum-template#7 and its next release.
until obsidiansystems/dependent-sum-template#7 and its next release.
(This should be good to go.) |
until obsidiansystems/dependent-sum-template#7 and its next release.
Published: https://hackage.haskell.org/package/dependent-sum-template-0.2.0.1 Thanks again @ncfavier |
Using a data family instead of a type family weirdly prevents the
Skolem
constructor from being treated as a metavariable, see https://gitlab.haskell.org/ghc/ghc/-/issues/23743#note_522186Backlog: #2 (comment)
@ali-abrar @cgibbard