... | ... | @@ -232,7 +232,7 @@ Notice that since `Example` has no record selector, it generated `('MetaSel 'Not |
|
|
|
|
|
### `template-haskell-2.11.0.0`
|
|
|
|
|
|
- Three `Info` constructors (`ClassOpI`, `DataConI`, and `VarI`) no longer have a `Fixity` field. Instead, all `Fixity` information for a given `Name` is now determined through the `reifyFixity` function, which returns `Just` the fixity if there is an explicit fixity declaration for that `Name`, and `Nothing` otherwise.
|
|
|
- Three `Info` constructors (`ClassOpI`, `DataConI`, and `VarI`) [ no longer have](http://git.haskell.org/ghc.git/commitdiff/575abf42e218925e456bf765abb14f069ac048a0) a `Fixity` field. Instead, all `Fixity` information for a given `Name` is now determined through the `reifyFixity` function, which returns `Just` the fixity if there is an explicit fixity declaration for that `Name`, and `Nothing` otherwise.
|
|
|
|
|
|
- the `DataD`, `NewtypeD`, `DataInstD`, and `NewtypeInstD` constructors have a new field `Maybe Kind` ([\#10828](https://gitlab.haskell.org//ghc/ghc/issues/10828)), and take a `CxtQ` instead of a `[Name]` for the derived classes ([\#10819](https://gitlab.haskell.org//ghc/ghc/issues/10819)). If you don't know what to do, use `Nothing` for the kind signature. The field that used to be of type `[Name]` can be converted to a `CxtQ` using `mapM conT`.
|
|
|
|
... | ... | |