[Haskell-beginners] show vs. Data.ByteString.Char8.unpack for ByteString

Hong Yang hyangfji at gmail.com
Thu Feb 4 15:46:39 EST 2010


Hi,

What is the difference between show and unpack when the function arguments
are of ByteString type? I thought they are the same, but they are not
interchangeable at compile time.

Thanks,

Hong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20100204/f5b18c1c/attachment.html


More information about the Beginners mailing list