Re: [Haskell-cafe] binary twidling modules

2011-03-13 Thread Don Stewart
Data.Binary or Data.Serialize perhaps? They provide encode/decode functions for packing to binary formats: * cabal install binary * cabal install cereal http://hackage.haskell.org/packages/archive/binary/0.5.0.2/doc/html/Data-Binary.html On Sun, Mar 13, 2011 at 11:17 AM, rusi wrote: > I am no

[Haskell-cafe] binary twidling modules

2011-03-13 Thread rusi
I am not sure what would be the generic names I am asking for... examples are the nearest I can get. In perl there is pack/unpack http://perldoc.perl.org/perlpacktut.html Likewise in python there is struct module http://docs.python.org/library/struct.html What is/are the Haskell equivalents? __