GHC uses its own version of the NHC library.  It's linked off of the
libraries page:
 
http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/haskell_libs
/Binary.html

Moreover, I have my own version of this library which we were, for a
while, trying to synch with the NHC library so it could become standard.
This is available at:

http://www.isi.edu/~hdaume/haskell/NewBinary/

and allows both bit-based and byte-based writing styles.

 --
 Hal Daume III                                   | [EMAIL PROTECTED]
 "Arrest this man, he talks in maths."           | www.isi.edu/~hdaume


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Christian Maeder
> Sent: Wednesday, July 09, 2003 1:34 AM
> To: The Haskell Mailing List
> Subject: Re: Reading/Writing Binary Data in Haskell
> 
> 
> >>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
> 
> 
> _______________________________________________
> Haskell mailing list
> [EMAIL PROTECTED]
> http://www.haskell.org/mailman/listinfo/haskell
> 
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to