osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-generic-deriving revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-generic-deriving?expand=0&rev=27
This commit is contained in:
parent
061770cdc5
commit
daf97b2da7
@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 14 17:02:11 UTC 2018 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update generic-deriving to version 1.12.1 revision 1.
|
||||||
|
* Adapt to the `EmptyDataDeriving` proposal (introduced in GHC 8.4):
|
||||||
|
* `Generics.Deriving.TH` now derives `to(1)` and `from(1)` implementations
|
||||||
|
for empty data types that are strict in the argument.
|
||||||
|
* Introduce an `EmptyCaseOptions` field to `Options` in
|
||||||
|
`Generics.Deriving.TH`, which controls whether generated `from(1)`/`to(1)`
|
||||||
|
implementations for empty data types should use the `EmptyCase` extension
|
||||||
|
or not (as is the case in GHC 8.4).
|
||||||
|
* Add `mkFrom0Options`, `mkFrom1Options`, `mkTo0Options`, and `mkTo1Options`
|
||||||
|
functions to `Generics.Deriving.TH`, which take `EmptyCaseOptions` as
|
||||||
|
arguments.
|
||||||
|
* The backported instances for `V1` are now maximally lazy, as per
|
||||||
|
`EmptyDataDeriving`. (Previously, some instances would unnecessarily force
|
||||||
|
their argument, such as the `Eq` and `Ord` instances.)
|
||||||
|
* Add instances for `V1` in `Generics.Deriving.Copoint`, `.Eq`, `.Foldable`,
|
||||||
|
`.Functor`, `.Show`, and `.Traversable`.
|
||||||
|
* Remove the bitrotting `simplInstance` function from `Generics.Deriving.TH`.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com
|
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user