Switch from template-haskell to template-haskell-lift#661
Switch from template-haskell to template-haskell-lift#661Lysxia merged 1 commit intohaskell:masterfrom
Conversation
|
What's the status of this? |
I'm currently waiting for GHC-9.14 to be released. And then I'll update all the PRs for boot libs. If we want new releases of text to be backportable to older GHCs then I will need to introduce some CPP to allow building with GHC when th-lift isn't a boot lib (note that end users can build th-lift with older GHCs but we can't add new boot libs in a minor version of GHC). LMK if you'd prefer that to the current version. |
Yes please. We can always rip off CPP once last GHC releases in 9.10 and 9.12 series are out. |
3740ed5 to
fabfb34
Compare
This new boot library should be more stable than template-haskell and should eventually allow us to remove much of the CPP around TH. It will also make it easier for end-users to reinstall template-haskell as it will no longer be used by any boot libraries
|
Thanks a lot! |
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