binary files in haskell

Olaf Chitil olaf@cs.york.ac.uk
Tue, 06 Feb 2001 12:29:18 +0000


Marcin 'Qrczak' Kowalczyk wrote:

> type Byte = Word8
> 
> IMHO it looks nicer to have Byte in function names, so there can be such
> type synonym too.

I agree that Byte is nicer than Word8.
So why is this type synonym not in the library Word of the FFI?
I think that is the right place for it.

-- 
OLAF CHITIL, 
 Dept. of Computer Science, University of York, York YO10 5DD, UK. 
 URL: http://www.cs.york.ac.uk/~olaf/
 Tel: +44 1904 434756; Fax: +44 1904 432767