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

Add compatibility with template-haskell up to 2.21 #4

Merged

Conversation

nuttycom
Copy link
Contributor

No description provided.

@nuttycom nuttycom marked this pull request as draft December 30, 2022 18:13
@nuttycom
Copy link
Contributor Author

Converted to draft as I found a build error, fixing...

@nuttycom nuttycom force-pushed the update_template_haskell branch from 43767ca to 2617b5b Compare December 30, 2022 18:31
@nuttycom nuttycom marked this pull request as ready for review December 30, 2022 18:41
@nuttycom
Copy link
Contributor Author

Fixed the build for template-haskell 2.18.0 and higher.

@tmcgilchrist
Copy link

Could this change be merged and pushed onto hackage? @liyang

Copy link

@sellout sellout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the changes look good & safe for backward compatibility. Just some comments that might help with maintenance.

Despite there being no CI, there is a tested-with field in the Cabal file. It might be a good idea to add the GHC versions you built this on (one each for TH 2.17, 2.18, and 2.19), so that future contributors know which things shoud work. Adding a GH CI matrix wouldn’t be a bad follow-up PR …

true-name.cabal Outdated Show resolved Hide resolved
@nuttycom nuttycom force-pushed the update_template_haskell branch from 2617b5b to 8f5edca Compare May 16, 2024 00:46
@nuttycom nuttycom changed the title Add compatibility with template-haskell up to 2.19 Add compatibility with template-haskell up to 2.21 May 16, 2024
Copy link

@sellout sellout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gorgeous!

@nuttycom nuttycom merged commit 74775d0 into haskell-github-trust:master May 16, 2024
72 checks passed
@nuttycom nuttycom deleted the update_template_haskell branch May 16, 2024 01:40
@nuttycom
Copy link
Contributor Author

Could this change be merged and pushed onto hackage?

Finally, yes! 0.2.0.0 is up on hackage.

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.

3 participants