summaryrefslogtreecommitdiff
path: root/docs/users_guide/9.0.1-notes.rst
diff options
context:
space:
mode:
authorFumiaki Kinoshita <fumiexcel@gmail.com>2020-07-15 21:12:07 +0900
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-10-14 18:06:12 -0400
commite60ae8a38394370fd8818ad004a101466fc7d2dc (patch)
tree6eff280150db65ae373aba5d50f550180b99983b /docs/users_guide/9.0.1-notes.rst
parentbf2411a3c198cb2df93a9e0aa0c3b8297f47058d (diff)
downloadhaskell-e60ae8a38394370fd8818ad004a101466fc7d2dc.tar.gz
Add -Wnoncanonical-{monad,monoid}-instances to standardWarnings
------------------------- Metric Decrease: T12425 Metric Increase: T17516 -------------------------
Diffstat (limited to 'docs/users_guide/9.0.1-notes.rst')
-rw-r--r--docs/users_guide/9.0.1-notes.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/users_guide/9.0.1-notes.rst b/docs/users_guide/9.0.1-notes.rst
index 8db76e7cf3..4b6ae89290 100644
--- a/docs/users_guide/9.0.1-notes.rst
+++ b/docs/users_guide/9.0.1-notes.rst
@@ -243,6 +243,10 @@ Compiler
- A new flag :ghc-flag:`-flink-rts` to enable linking the RTS when linking
shared libraries.
+- The :ghc-flag:`-Wnoncanonical-monad-instances` and
+ :ghc-flag:`-Wnoncanonical-monoid-instances` warnings are now enabled by
+ default, as proposed in `GHC proposal #314
+ <https://github.com/ghc-proposals/ghc-proposals/pull/314>`_
GHCi
~~~~