Proposal: Deprecate decodeUtf8

Henning Thielemann lemming at
Sat Aug 20 05:39:29 UTC 2016

On Fri, 19 Aug 2016, Carter Schonwald wrote:

> Why not propose adding a variant that exposes the error handling.

As previously mentioned, it is already there:
    decodeUtf8' :: ByteString -> Either UnicodeException Text

> Deprecation is a heavy hammer when most users seem to know that it's 
> partial or discover it rather quickly. 

decodeUtf8 could be re-added with a more alerting name as proposed by Oleg 

More information about the Libraries mailing list