Can't split a string literal
If I try to split a string literal across two lines,
using the syntax of two \ seperated by white space, I
get the error mesage:
error in character literal
The code lines in question looks like:
hPutStr h $
"GET "++path uri++" HTTP/1.1\r\n\
\Host: "++authority uri++"\r\n\
\User-Agent: Haber/0.2\r\n\r\n"
Trac metadata
Trac field |
Value |
Version |
5.02 |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
ResolvedNoReason |
Component |
Compiler |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|