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?
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
Hello Haskellers,
I am currently taking over the maintainership of hsmagick, a FFI
bindings library to ImageMagick.
Therefore, I am pleased to announce the 0.5 release of hsmagick.
http://hackage.haskell.org/package/hsmagick
Major changes:
--
* imageToBlob and blobToImage functions using
I have managed to get both static and dynamic to work on
Ubuntu; and I've set aside a repo on Github to collect notes
on this stuff as I work out building on various systems.
https://github.com/solidsnack/hso
I need rpath for the dynamic-dynamic case on Ubuntu:
ghc -shared
I know, but at least I can go on with development. I hope, the problem
will be fixed soon.
vagif.ve...@gmail.com wrote:
No, it is not solved.
With -fproduction flag you are loosing devel-server functionality.
On Saturday, March 12, 2011 02:45:11 PM Ertugrul Soeylemez wrote:
Oh, I just
You can also download binary tarball, untar, ./configure
--prefix=$HOME/ghc-7.0.2, make install, export PATH=$PATH:$HOME/ghc-7.0.2
and you will be good to go.
Best regards,
Krzysztof Skrzętnicki
On Mon, Mar 14, 2011 at 02:15, Ertugrul Soeylemez e...@ertes.de wrote:
I know, but at least I can
Thanks Brandon,
data Endian = Big | Little
data Size = Eight | Sixteen | ThirtyTwo | SixtyFour
type EncTuple = (Int,Size,Endian)
My requirement is to write encode :: [EncTuple] - ByteString
I'd like to use it with just the libraries that are part of the platform -
and I am not a fan of using the
On Monday 14 March 2011 05:45:04, C K Kashyap wrote:
Thanks Brandon,
data Endian = Big | Little
data Size = Eight | Sixteen | ThirtyTwo | SixtyFour
type EncTuple = (Int,Size,Endian)
My requirement is to write encode :: [EncTuple] - ByteString
Looks like a job for Data.Binary.
I'd like
Looks like a job for Data.Binary.
I'd like to use it with just the libraries that are part of the platform
I forgot to mention, Data.Binary does not seem to be in the platform.
Regards,
Kashyap
___
Haskell-Cafe mailing list