Reading/Writing Binary Data in Haskell

Hal Daume t-hald@microsoft.com
Wed, 9 Jul 2003 08:07:03 -0700


GHC uses its own version of the NHC library.  It's linked off of the
libraries page:
=20
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                                   | hdaume@isi.edu
 "Arrest this man, he talks in maths."           | www.isi.edu/~hdaume


> -----Original Message-----
> From: haskell-admin@haskell.org=20
> [mailto:haskell-admin@haskell.org] 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
>=20
>=20
> >>There isn't a standard mechanism for binary I/O.
> >=20
> >=20
> > NHC98 contains the York Binary library. Can someone tell me=20
> if this is=20
> > available for other Haskell systems? And didn't GHC also=20
> provide binary I/O?
>=20
> How does the GHC itself read/write binary data, since the interface=20
> files (*.hi) produced by GHC are in a binary format? (Whereas=20
> NHC98 *.hi=20
> are text files.)
>=20
> Christian
>=20
>=20
> _______________________________________________
> Haskell mailing list
> Haskell@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
>=20