[Haskell-cafe] [ANN] linear-generics-0.2
david.feuer at gmail.com
Tue Nov 9 18:59:03 UTC 2021
This new major version improves the GHCGenerically1 DerivingVia target.
Previously, it worked on strictly fewer types than GHC could derive
Generic1 for. Now it works on strictly more types than that. It does this
by using a derived Generic instance instead of a derived Generic1 instance,
thanks to the magic of quantified constraints. For anyone already using the
package, the upgrade path is trivial: just derive any additional Generic
instances GHC asks for.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe