
20 Aug
2016
20 Aug
'16
1:39 a.m.
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 Grenrus http://mail.haskell.org/libraries/2016-August/027265.html