Hi guys, >> 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. Take care, Peter _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
