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 <[email protected]> wrote: > 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? > > _______________________________________________ > Haskell-Cafe mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
