<div class="gmail_quote">On 9 January 2011 21:30, Henning Thielemann <span dir="ltr">&lt;<a href="mailto:lemming@henning-thielemann.de" target="_blank">lemming@henning-thielemann.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><br>
On Sun, 9 Jan 2011, Aaron Gray wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am trying to work out how to use GHC.Ptr, Foreign.Storable, Data.Storable.Endian, and<br>
am looking for good examples of usage.<br>
</blockquote>
<br></div>
What do you intend to do with them?<br>
<br></blockquote><div><br></div><div>An (ABC) ActionScript Byte Code backend for Haskell. </div><div><br></div><div>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.</div>


<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The package storablevector uses a lot of Ptr, peek, and poke. Maybe this is of some help.<br></blockquote><div><br></div><div>Okay thanks,</div><div><br></div><div>Aaron</div><div> </div></div><br>