carriage returns on Windows from quasi-quotes

Greg Weber greg
Sat Oct 5 18:53:08 UTC 2013


Yes, this is only an issue on Windows.


On Fri, Oct 4, 2013 at 11:19 PM, Christopher Done <chrisdone at gmail.com>wrote:

> 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
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20131005/884141fe/attachment.html>



More information about the Glasgow-haskell-users mailing list