Look in Data.ByteString.Char8 Cheers, Greg
On Apr 5, 2010, at 6:27 PM, Günther Schmidt wrote: > Hi all, > > I've never found an easy way to deal with ByteStrings. > > I'm using the RSA library and it en- and decodes > Data.ByteString.Lazy.ByteString. > > I initially start with Strings, ie. [Char], but there is no function to > convert the 2 back and forth. There is however a function which takes [Word8] > to BytesString and back. > > It all wouldn't be so confusing if there weren't several versions of > ByteString in several modules to choose from. And a number of libraries > requiring different types of ByteString. > > I am sure the designers of the bytestring package had good reason for this > design, is there also a webpage which explains which one to use and under > what circumstances? > > Günther > > > _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe