
4 Feb
2010
4 Feb
'10
4:08 p.m.
Hong, 'show' of a ByteString will put quotes around the text and lots of \ for escaping certain characters, whereas unpack will translate each byte one-to-one to a Char. Steve Hong Yang wrote:
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
------------------------------------------------------------------------
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners