A typeclass for byte operations?
dons at galois.com
Sat Feb 21 15:55:07 EST 2009
> Hey guys,
> At work we have many and varied needs to do bytewise operations on
> Haskell data. Things like:
> Has anyone thought about:
> * A "Bytes" class, like the Bits class? Providing standard
> operations on values treated as bytes?
> * An Endian class, a la fromIntegral, for flipping bytes into a
> particular endianness.
On Hackage. which does a few things in this area.
More information about the Libraries