Text in Haskell: A PROPOSAL

Ashley Yakeley ashley@semantic.org
Wed, 7 Aug 2002 21:46:25 -0700


At 2002-08-07 21:26, Ken Shan wrote:

>One thing I am concerned about is that getChar should be IO CChar, not
>IO Char.

No, it should be IO Word8, because strictly speaking a C char doesn't 
have to be an octet. CChar should be the machine-dependent type. Network 
handles should certainly be octets. And I think we can assume file 
handles are too...

-- 
Ashley Yakeley, Seattle WA