[Haskell-cafe] Int and ByteStrings

Don Stewart dons at galois.com
Tue Jul 27 14:32:36 EDT 2010

> Hey all,
> Is there a library function (f :: [Int] -> ByteString) such that it's  
> prefix-preserving, and platform independent? GHC-only is fine for now.  
> There are a bunch of functions of that type, but I need those guarantees  
> and I'm hoping someone else has already done it.

should be possible to write using Data.Binary.

-- Don

More information about the Haskell-Cafe mailing list