[Haskell-cafe] Hal Daume III's NewBinary now ghc6ized, cabalized, debianize, darcsized.

Simon Peyton-Jones simonpj at microsoft.com
Tue Nov 9 04:08:40 EST 2004


Good work!  The last thing you need to do is to send a note to John
Petersen to incorporate it on the Haskell libraries page
haskell.org/libraries.  That way lots more people will be able to find
it.

Simon

| -----Original Message-----
| From: haskell-cafe-bounces at haskell.org
[mailto:haskell-cafe-bounces at haskell.org] On Behalf Of
| Jeremy Shaw
| Sent: 08 November 2004 19:43
| To: haskell-cafe at haskell.org
| Subject: [Haskell-cafe] Hal Daume III's NewBinary now ghc6ized,
cabalized,debianize, darcsized.
| 
| Hello,
| 
| I am quite interested in having better Binary support in Haskell --
| especially support for reading and writing binary files and protocols
| that have fields smaller than 8-bits and non-byte alignment.
| 
| As a first step, I have republished Hal Daume III's NewBinary package
| in hopes that it will inspire some forward movement on it. I have made
| the following 'improvements':
| 
|  ~ ghc6ized
| 
| cd /tmp/NewBinary/
| diff  /tmp/Binary.hs /tmp/NewBinary/NewBinary/Binary.hs
| 81c81,82
| < import GHC.Handle		( openFileEx, IOModeEx(..) )
| ---
| > import GHC.Handle
| > import IOExts ( openFileEx, IOModeEx(..) )
| 
| (hrm, I probably don't need to import GHC.Handle anymore either...)
| 
|  ~ cabalized
| 
| To build, you need the Cabal libraries installed. Then do something
| like this:
| 
| ghc -package Setup.lhs -o setup
| ./setup configure
| ./setup build
| ./setup install
| ./setup register (? maybe not needed ?)
| 
|  ~ debianized
| 
| You should be able to build and install it like any other debian
| package:
| 
| dpkg-buildpackage && debi
| 
|  ~ darcsized
| 
| darcs get http://www.n-heptane.com/nhlab/repos/NewBinary
| 
| I hope I am not stepping on anyone's toes or duplicating efforts.
| 
| Jeremy Shaw.
| 
| ps. The original is available at:
| 
| http://www.isi.edu/~hdaume/haskell/NewBinary/
| --
| 
| This message contains information which may be confidential and
privileged. Unless you are the
| addressee (or authorized to receive for the addressee), you may not
use, copy or disclose to anyone
| the message or any information contained in the message. If you have
received the message in error,
| please advise the sender and delete the message.  Thank you.
| _______________________________________________
| Haskell-Cafe mailing list
| Haskell-Cafe at haskell.org
| http://www.haskell.org/mailman/listinfo/haskell-cafe


More information about the Libraries mailing list