command-line expressions with double-quoted strings misinterpret some special symbols
try for instance
ghc -e " reverse \"2<3\" " or ghc -e " reverse \"2^3\" "
The first gives a parsing error, while the second returns "32" instead of "3^2"
Trac metadata
Trac field | Value |
---|---|
Version | 6.4.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |