You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This applies a couple of tweaks needed to adapt `hobbits` to changes to
`template-haskell`'s `TyVarBndr` API in GHC 9.0 (see
https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.0?version_id=5fcd0a50e0872efb3c38a32db140506da8310d87#template-haskell-217):
* Since `PlainTV` and `KindedTV` now have an additional field, the `tvName`
function from `th-abstraction` is now used to extract the `Name`s from
these two constructors. `tvName` is designed to work across different
versions of `template-haskell`.
* A use of `TyVarBndr` was changed to `TyVarBndrUnit`. Again, the
`th-abstraction` library is used to ensure that `TyVarBndrUnit` is always
is in scope, even on old versions of `template-haskell`.
* A use of `PlainTV` was changed to `plainTVSpecified` (offered by
`th-abstraction`) to give it a `Specificity` on newer versions of
`template-haskell`.
0 commit comments