[Haskell-cafe] Type system madness

Philip Armstrong phil at kantaka.co.uk
Thu Jul 12 17:20:13 EDT 2007

On Thu, Jul 12, 2007 at 04:58:43PM -0400, Steve Schafer wrote:
>On Thu, 12 Jul 2007 21:24:24 +0100, you wrote:
>>Given that (IIRC) the BOM is just a valid unicode non-breaking space,
>>your scripts really ought to cope...
>Choking on the BOM is probably just a symptom of a deeper problem. My
>bet is that removing the BOM would simply delay the failure until the
>first non-ASCII character was encountered.

Indeed. However, I can imagine that the author might well want to use
unicode characters in string literals and comments, where they would
be entirely inocuous (since a utf-8 string is a valid ascii string)
but the BOM at the beginning of the file breaks things.


http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt

More information about the Haskell-Cafe mailing list