[Haskell-cafe] ANNOUNCE: storable-endian
simons at cryp.to
Fri Dec 24 15:42:08 CET 2010
>> You could use ADNS.Endian.endian from package hsdns in your Setup.hs
>> to define endianness at compile time.
> Cool, it's already there! However I would not recommend to let a
> low-level library depend on a higher-level one. I think it would be
> cleaner to move the ADNS.Endian module to storable-endian package or
> even to a separate package.
yes, I agree. hsdns should re-use storable-endian, not the other way round.
The API offered by storable-endian is rather similar to the functions hsdns
currently uses internally, so it should be fairly straightforward to adapt.
More information about the Haskell-Cafe