Switch from template-haskell to template-haskell-lift#717
Switch from template-haskell to template-haskell-lift#717TeofilC wants to merge 1 commit intohaskell:masterfrom
Conversation
54ef253 to
d85e62d
Compare
|
We strive for new releases to be backportable to older GHC major series, which do not yet have |
|
Good point. template-haskell-lift itself is buildable with older major versions (where it just re exports tenplate-haskell) but unless we backport it as a boot library to those versions then indeed you wouldn't be able to use the new bytestring as a boot library. I'll implement what you suggest |
e1fb704 to
800ee4c
Compare
|
@TeofilC please rebase. |
|
@TeofilC could you please raise a draft GHC MR, which updates |
afc9dd0 to
99ec2e9
Compare
|
Since I last looked at this, This shows a gap in the interface of |
|
Actually we can just use |
1d486d1 to
754b7a7
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
|
Not sure about the CI failure on 9.0. I can't reproduce it locally |
It's unrelated to your changes, I have the same failure in #718 (comment). |
We switch our dependency on template-haskell to a dependency on template-haskell-lift. This smaller library is more stabler. 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.o