carriage returns on Windows from quasi-quotes

Greg Weber greg
Fri Oct 4 23:36:48 UTC 2013


A Windows user rerported using Data.Text.IO.writeFile to write out
quasi-quoted text.

writeFile automatically translates '\r' to "\r\n", so the user ended up
writing out "\r\r\n" to a file.

Haskell seems to be adopting the policy or removing '\r' from Haskell land.
Is there any reason why quasi-quotes should not automatically strip
carriage returns?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20131004/e3bbd03a/attachment.html>



More information about the Glasgow-haskell-users mailing list