[Haskell-cafe] Data.ByteString.Lazy.ByteString vs Data.ByteString.Lazy.Internal.ByteString

C K Kashyap ckkashyap at gmail.com
Mon Mar 14 05:45:04 CET 2011

Thanks Brandon,

data Endian = Big | Little
data Size = Eight | Sixteen | ThirtyTwo | SixtyFour
type EncTuple = (Int,Size,Endian)

My requirement is to write encode :: [EncTuple] -> ByteString
I'd like to use it with just the libraries that are part of the platform -
and I am not a fan of using the internal stuff :)
I'd appreciate it very much if you could give me a sample.

And thank you very much for


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110314/487a73e1/attachment.htm>

More information about the Haskell-Cafe mailing list