<div dir="ltr">A variant of this that I would support would be to bring <font face="monospace">readMaybe</font> into <font face="monospace">Prelude</font> from <font face="monospace">Text.Read</font> for a good long time, and <i>then</i> to deprecate <font face="monospace">read</font>. As it stands, <font face="monospace">read</font> and the almost equally ugly <font face="monospace">readIO</font> are the only <font face="monospace">Prelude</font> facing ways for a user to really consume a <font face="monospace">Read</font> instance, so losing <font face="monospace">read</font> there is a heck of a blow to usability without a replacement being in place with an established pattern of usage.<div><br></div><div>-Edward</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 14, 2021 at 11:16 PM Emily Pillmore <<a href="mailto:emilypi@cohomolo.gy">emilypi@cohomolo.gy</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div><div><div>NOPE.</div></div><div><div style="display:none;border:0px;width:0px;height:0px;overflow:hidden"><img src="https://r.superhuman.com/-KjDx1H8Q1tURqS1YFp07dn_9tzuAOVNSjuNvLXtSC75x2aoMIlv2-MMHcOhP4qIR8QAT2RS_fpXqJqokqXRGM-nFehzsLHNnCpygEw6Fo3I_heIaWFNqW0NJeH2Q9hXu67kop2byBodVyMAuKdOXTH9a6A6v8zJ6_dnE5cRdrx8Pq7H6vO01Zk.gif" alt="" width="1" height="0" style="display: none; border: 0px; width: 0px; height: 0px; overflow: hidden;"></div><br><div></div></div><br><div><div class="gmail_quote">On Thu, Oct 14, 2021 at 8:31 PM, Fumiaki Kinoshita <span dir="ltr"><<a href="mailto:fumiexcel@gmail.com" target="_blank">fumiexcel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_extra"><div class="gmail_quote" id="gmail-m_-341499609662145501null"><div dir="ltr"><div>It is a partial function that does not provide a call stack, and it's very slow too.<br></div><div><br></div><div>I propose deprecating <a rel="noopener noreferrer" href="http://prelude.read/" target="_blank">Prelude.read</a>. Adding deprecation should not break anything substantial because Hackage rejects -Werror (application code using -Werror is likely to experience a lot more breakage anyway, and I'd say it's their fault if it fails to build due to a use of read along with -Werror).</div><div><br></div><div>Of course those who still want to use <a rel="noopener noreferrer" href="http://prelude.read/" target="_blank">Prelude.read</a> can totally ignore warnings. I believe this proposal is not that controversial.<br></div></div>

<p>_______________________________________________
<br>
Libraries mailing list
<br>
<a rel="noopener noreferrer" href="mailto:Libraries@haskell.org" target="_blank">Libraries@haskell.org</a>
<br>
<a rel="noopener noreferrer" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a></p></div></div></blockquote></div></div><br></div></div></div>_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org" target="_blank">Libraries@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br>
</blockquote></div>