carriage returns on Windows from quasi-quotes

Christopher Done chrisdone
Sat Oct 5 06:19:31 UTC 2013


They're on Windows?

On 5 October 2013 01:36, Greg Weber <greg at gregweber.info> wrote:
> 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?
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>



More information about the Glasgow-haskell-users mailing list