Reading/Writing Binary Data in Haskell

Christian Maeder maeder@tzi.de
Wed, 09 Jul 2003 10:34:13 +0200


>>There isn't a standard mechanism for binary I/O.
> 
> 
> NHC98 contains the York Binary library. Can someone tell me if this is 
> available for other Haskell systems? And didn't GHC also provide binary I/O?

How does the GHC itself read/write binary data, since the interface 
files (*.hi) produced by GHC are in a binary format? (Whereas NHC98 *.hi 
are text files.)

Christian