[Haskell-cafe] ANNOUNCE: storable-endian

Aaron Gray aaronngray.lists at gmail.com
Sun Dec 26 16:13:38 CET 2010


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 at gmail.com> wrote:

> So I got around to it.
> storable-endian 0.2.3 released, see code:
> https://github.com/jkff/storable-endian/blob/master/Data/Storable/Endian.hs
> There's some boilerplate there, but I think it's tractable.
>
> 2010/12/25 Eugene Kirpichov <ekirpichov at 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 at gmail.com>:
> >> On Sat, Dec 25, 2010 at 1:31 AM, Eugene Kirpichov <ekirpichov at 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 at gmail.com>:
> >>>> On Fri, Dec 24, 2010 at 8:08 AM, Henk-Jan van Tuyl <hjgtuyl at 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20101226/58d1577c/attachment.htm>


More information about the Haskell-Cafe mailing list