[GHC] #11128: New `-fwarn-noncanonical-monad-instances` warning
GHC
ghc-devs at haskell.org
Mon Nov 23 15:12:50 UTC 2015
#11128: New `-fwarn-noncanonical-monad-instances` warning
-------------------------------------+-------------------------------------
Reporter: hvr | Owner: hvr
Type: feature request | Status: patch
Priority: normal | Milestone: 8.0.1
Component: Compiler | Version: 7.10.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D1516
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by nomeata):
Do you intentionally disallow `return x = pure x`, which some people might
write? (No strong opinion here, having precisely one official way is
probably desirable, but let’s at least document that it has been given
thought.)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11128#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list