Skip to content

Conversation

@TeofilC
Copy link
Contributor

@TeofilC TeofilC commented Oct 10, 2025

We switch our dependency on template-haskell to a dependency on template-haskell-lift. This smaller library is more stabler and if we can remove the template-haskell dependency from all boot libraries then template-haskell will be much easier to re-install since it no longer needs to be in GHC's dependency closure.

For more information see the GHC proposal that introduced this library: ghc-proposals/ghc-proposals#696

This GHC MR tests this PR against GHC-HEAD: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/14978

@phadej
Copy link

phadej commented Oct 11, 2025

@TeofilC

For some reason, in this instance, GHC parses this as [| print $ (lift $ coerceWith co 1) |]

The splices inside quotation-brackets need TemplateHaskell before GHC-9.0. TemplateHaskellQuotes is not enough.

@TeofilC
Copy link
Contributor Author

TeofilC commented Oct 11, 2025

Thanks @phadej that makes sense!

@TeofilC TeofilC marked this pull request as ready for review January 10, 2026 22:17
@hasufell hasufell merged commit 290bf00 into haskell:master Jan 20, 2026
21 of 26 checks passed
hasufell added a commit that referenced this pull request Jan 20, 2026
* support MicroHS wrt #35
* Switch from template-haskell to template-haskell-quasiquoter and -lift wrt #36
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