... | @@ -125,4 +125,13 @@ instanceNFDataFoowhere rnf x = seq x () |
... | @@ -125,4 +125,13 @@ instanceNFDataFoowhere rnf x = seq x () |
|
instead of relying on the default method implementation.
|
|
instead of relying on the default method implementation.
|
|
|
|
|
|
|
|
|
|
For more details (and how to use the new facilities) see Haddock documentation of [ hackage:deepseq](http://hackage.haskell.org/package/deepseq) |
|
For more details (and how to use the new facilities) see Haddock documentation of [ hackage:deepseq](http://hackage.haskell.org/package/deepseq)
|
|
\ No newline at end of file |
|
|
|
|
|
### `template-haskell-2.10.0.0`
|
|
|
|
|
|
|
|
|
|
|
|
There are a number of API changes in this release of Template Haskell.
|
|
|
|
|
|
|
|
- The `Pred` type (recall `type Cxt = [Pred]`) is now a synonym of `Type`, to allow TH to work with the `ConstraintKinds` extension. There is thus a new `EqualityT` constructor of `Type` that represents `~`. The `classP` and `equalP` functions from `TH.Lib` remain, but are deprecated.
|
|
|
|
|
|
|
|
- There are two new `Dec` forms: `StandaloneDerivD` and `DefaultSigD`. Check the relevant documentation for more details. |