[Haskell-cafe] GHC.Ptr, Foreign.Storable, Data.Storable.Endian, looking for good examples of usage
aaronngray.lists at gmail.com
Mon Jan 10 01:05:52 CET 2011
On 9 January 2011 21:30, Henning Thielemann
<lemming at henning-thielemann.de>wrote:
> On Sun, 9 Jan 2011, Aaron Gray wrote:
> I am trying to work out how to use GHC.Ptr, Foreign.Storable,
>> Data.Storable.Endian, and
>> am looking for good examples of usage.
> What do you intend to do with them?
An (ABC) ActionScript Byte Code backend for Haskell.
Basically I need to write little-endian binary to a file, and was wondering
the best way to do this; I need various types including a 24bit type.
> The package storablevector uses a lot of Ptr, peek, and poke. Maybe this is
> of some help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe