<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Aug 18, 2016 at 2:08 AM, Niklas Hambüchen <span dir="ltr"><<a href="mailto:mail@nh2.me" target="_blank">mail@nh2.me</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":17i" class="a3s aXjCH m1569ce8d1f66f872">I propose to add a deprecation pragma to the partial function<br>
Data.Text.decodeUtf8.<br></div></blockquote></div><br></div><div class="gmail_extra">I'm not terribly open to adding a pragma for this, I'm afraid. Its documentation already clearly states that it will throw an exception. I understand that developers often fail to read documentation, but I don't want to train them to also ignore compiler output because they get permanent warnings that they can't suppress.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I do of course agree that in hindsight, it would have been best to provide a safer function with this name.</div></div>