On 2008 Oct 28, at 10:38, haihualin wrote:
I am wondering how to get the binary respentation of the Int/Double.
So I can save the integer as the binary data so that the C program
can read it from the file.
The Binary package on Hackage (http://hackage.haskell.org) allows you
to serialize Haskell data in any form including C-compatible binary
output.
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university KF8NH
_______________________________________________
Haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell