[Haskell-cafe] Disable default-to-DeriveAnyClass warning with DerivingStrategies?

Theodore Lief Gannon tanuki at gmail.com
Mon Jun 11 23:35:39 UTC 2018


Is there a flag to disable this warning? There's no mystery or surprise to
the default, but if I want all three of GeneralizedNewtypeDeriving,
DeriveAnyClass and DerivingStrategies enabled, I'm currently stuck with a
warning for e.g. deriving (Generic, ToJSON). The only way to use strategy
keywords is on standalone deriving lines, which seems unnecessarily verbose.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180611/c04f3168/attachment.html>


More information about the Haskell-Cafe mailing list