On Fri, Dec 24, 2010 at 8:08 AM, Henk-Jan van Tuyl <[email protected]> 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

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to