On Jan 23, 2008 2:11 PM, Magnus Therning <[EMAIL PROTECTED]> wrote: > Yes, this reflects my recent experience, Char is not a good representation > for an 8-bit byte. This thread came out of my attempt to add a module to > dataenc[1] that would make base64-string[2] obsolete. As you probably can > guess I came to the conclusion that a function for data encoding with type > 'String -> String' is plain wrong. :-)
Yes. Functions that deal with bytes shouldn't use Char. Char should be seen as and ADT representing Unicode code points. It has nothing to do with bytes. -- Johan _______________________________________________ Haskell-prime mailing list Haskell-prime@haskell.org http://www.haskell.org/mailman/listinfo/haskell-prime