Why can't we re-install the template-haskell package?
ryan.gl.scott at gmail.com
Thu Mar 7 13:28:11 UTC 2019
My (limited) understanding is that template-haskell is not reinstallable
for the same reasons that base and ghc-prim aren't reinstallable: the GHC
codebase directly wires in several definitions several functions, types,
and data constructors from template-haskell. See THNames . If one were
to, say, use GHC 8.6 but install a different version of template-haskell
than the one that came bundled with 8.6, then it's almost certain that lots
of code in THNames would no longer work, since they could be referencing
identifiers that no longer exist (if the new version of template-haskell
doesn't have them).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ghc-devs