[Haskell-cafe] [ANN] linear-generics-0.2

David Feuer 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...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20211109/6da0027e/attachment.html>


More information about the Haskell-Cafe mailing list