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

Allow building with template-haskell-2.17.* #45

Merged
merged 1 commit into from
Sep 29, 2020
Merged

Allow building with template-haskell-2.17.* #45

merged 1 commit into from
Sep 29, 2020

Conversation

RyanGlScott
Copy link
Owner

To minimize the amount of CPP that I had to use, I copied over unsafeSpliceCoerce from th-compat and put it in a new Language.Haskell.TH.Lift.Internal module. Since unsafeSpliceCoerce appears in generated code, I decided to export Language.Haskell.TH.Lift.Internal, but with an explicit caveat that it is not a part of the public API.

While I was in town, I also took the opportunity to fix #43.

To minimize the amount of CPP that I had to use, I copied over
`unsafeSpliceCoerce` from `th-compat` and put it in a new
`Language.Haskell.TH.Lift.Internal` module. Since
`unsafeSpliceCoerce` appears in generated code, I decided to export
`Language.Haskell.TH.Lift.Internal`, but with an explicit caveat that
it is not a part of the public API.

While I was in town, I also took the opportunity to fix #43.
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

Successfully merging this pull request may close these issues.

deriveLift-generated instance for unlifted newtype fails to typecheck
1 participant