LambdaCase should be suggested if it is used but not enabled
If I try to make a multiparameter typeclass GHC (well, GHCi here) advises me to turn on MultiParamTypeClasses
Prelude> class C a b where
...
(Use MultiParamTypeClasses to allow multi-parameter classes)
But if I try to use \case it doesn't give me a helpful suggestion
Prelude> :t \case (_,_) -> ()
<interactive>:1:2: error: parse error on input ‘case’
Could it?
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.2.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |