[Haskell-cafe] Int and ByteStrings

wren ng thornton wren at freegeek.org
Wed Jul 28 01:03:10 EDT 2010


Don Stewart wrote:
> wren:
>> 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.

Definitely possible, I was just hoping it's already been done :)

-- 
Live well,
~wren


More information about the Haskell-Cafe mailing list