System.IO.latin1 docs

Daniel Fischer daniel.is.fischer at googlemail.com
Wed Mar 30 11:40:19 CEST 2011


On Wednesday 30 March 2011 11:19:55, Simon Marlow wrote:
> As per the above discussion, I formally propose to add the following to 
> System.IO:
> 
> -- | An encoding in which Unicode code points are translated to bytes
> -- by taking the code point modulo 256.  When decoding, bytes are
> -- translated directly into the equivalent code point.
> --
> -- This encoding never fails in either direction.  However, encoding
> -- discards informaiton, so encode followed by decode is not the
> -- identity.
> binary :: TextEncoding
> 
> 
> Any objections?

I object to the typo informaiton instead of information, otherwise it's 
clear and unambiguous, +1




More information about the Libraries mailing list