Trouble parsing arithmetic sequence syntax
The Haskell-98 program
module Bug where
blah = [True..]
does not compile. I assume this is because GHC thinks that I'm accessing the operator .
from the module True
. It took me a little while to figure out what was going on here!
Trac metadata
Trac field | Value |
---|---|
Version | 8.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |