[GHC] #5813: Offer a compiler warning for failable pattern matches
GHC
cvs-ghc at haskell.org
Fri Feb 3 17:40:46 CET 2012
#5813: Offer a compiler warning for failable pattern matches
---------------------------------+------------------------------------------
Reporter: snoyberg | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 7.6.1
Component: Compiler | Version: 7.2.2
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Changes (by maeder):
* cc: Christian.Maeder@… (added)
Comment:
I think, it is definitely worth a flag, since you get a warning if you
desugar "do" manually to
"`... >>= \ (Just y) -> ...`".
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5813#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list