Hi Eugene,

I have been looking to do a ActionScript backend, it needs 24bit values.
Would it be possible to add some 24bit peeks and pokes, please.

Aaron

On 26 December 2010 11:13, Eugene Kirpichov <ekirpichov@gmail.com> wrote:
So I got around to it.
storable-endian 0.2.3 released, see code:
There's some boilerplate there, but I think it's tractable.

2010/12/25 Eugene Kirpichov <ekirpichov@gmail.com>:
> Thanks! Now I'll use it in storable-endian as soon as I get around to it :)
>
> 2010/12/25 Antoine Latter <aslatter@gmail.com>:
>> On Sat, Dec 25, 2010 at 1:31 AM, Eugene Kirpichov <ekirpichov@gmail.com> wrote:
>>> Great!
>>> Antoine, would you perhaps then update the cabal description of the
>>> package to include the word "endianness" in it? I Ctrl+F-ed "endian"
>>> through hackage before writing storable-endian and did not find your
>>> package.
>>>
>>
>> It is done! Although I spelled it wrong on my first try.
>>
>> Take care,
>> Antoine
>>
>>> 2010/12/25 Antoine Latter <aslatter@gmail.com>:
>>>> On Fri, Dec 24, 2010 at 8:08 AM, Henk-Jan van Tuyl <hjgtuyl@chello.nl> wrote:
>>>>>
>>>>> You could use ADNS.Endian.endian from package hsdns in your Setup.hs to
>>>>> define endianness at compile time.
>>>>>
>>>>> Regards,
>>>>> Henk-Jan van Tuyl
>>>>>
>>>>
>>>> It looks like I've reimplemented the same thing in its own package:
>>>> http://hackage.haskell.org/package/byteorder
>>>>
>>>> With pretty much the same technique.
>>>>
>>>> Take care,
>>>> Antoine
>>>>
>>>
>>>
>>>
>>> --
>>> Eugene Kirpichov
>>> Senior Software Engineer,
>>> Grid Dynamics http://www.griddynamics.com/
>>>
>>
>
>
>
> --
> Eugene Kirpichov
> Senior Software Engineer,
> Grid Dynamics http://www.griddynamics.com/
>



--
Eugene Kirpichov
Senior Software Engineer,
Grid Dynamics http://www.griddynamics.com/

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe