[Haskell-cafe] Type system madness

Stefan O'Rear stefanor at cox.net
Fri Jul 13 15:11:24 EDT 2007


On Fri, Jul 13, 2007 at 08:05:36PM +0100, Andrew Coppin wrote:
> Ketil Malde wrote:
>> On Thu, 2007-07-12 at 19:15 +0100, Andrew Coppin wrote:
>>
>>   
>>>> While BOMs (Byte Order Mark) are pretty irrelevant to byte-oriented
>>>> encodings like UTF-8, I think programs that fail on their presence can
>>>> be considered buggy.
>>>>       
>>
>>   
>>> Yay! Haskell's text I/O system is buggy. :-P
>>>     
>>
>> Works for me, but feel free to file a bug or provide a more specific
>> report.
>>   
>
> I was actually commenting on the other guy's remark that "anything that 
> chokes on a BOM can be considered buggy" - not entirely seriously. ;-)
>
> If there is a "bug" to be reported, it is merely that [the GHC 
> implementation of] Haskell appears to interpret files as containing "8-bit 
> ASCII", rather than doing real character encodings. I have no idea whether 

There is no such thing as 8-bit ASCII - base assumes files contain
ISO-8859-1.

> anybody has filed a bug report / feature request for this. (Come to think 
> of it, I have no idea how to check either...)

http://hackage.haskell.org/trac/ghc/query

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20070713/8ae37ebd/attachment-0001.bin


More information about the Haskell-Cafe mailing list