<div dir="ltr"><font face="monospace, monospace">Read</font> is one of very few classes with stated a deriving technique in the Haskell Report.<div><br></div><div>Moving it out of the Prelude would break a ridiculous amount of code and involve adding </div><div><br></div><div><font face="monospace, monospace">import Text.Read</font></div><div><br></div><div>as boilerplate to the top of every single module of Haskell source code out there that deigned to include</div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">    deriving (Read,....)</font></div><div><br></div><div>among the list of instances derived for their data types.</div><div><br></div><div>The cure feels a lot worse than any disease. Heck, <font face="monospace, monospace">read</font> isn't even a member of the class, so this would just spite users and not even address the symptom raised by this thread.</div><div><br></div><div>-Edward</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 29, 2016 at 11:50 PM, David Menendez <span dir="ltr"><<a href="mailto:dave@zednenem.com" target="_blank">dave@zednenem.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class="">On Thu, Dec 29, 2016 at 4:47 PM, Bardur Arantsson <span dir="ltr"><<a href="mailto:spam@scientician.net" target="_blank">spam@scientician.net</a>></span> wrote:<br></span><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 2016-12-29 21:12, Andreas Abel wrote:<br>
><br>
> I am in favor of deprecating "read" and pointing to a total version in a<br>
> library.  Otherwise, I'd leave the Prelude unchanged.<br></span></blockquote><div><br></div></span><div>This is also my preference. If we *have* to change the Prelude, I’d prefer moving Read out entirely.</div><span class=""><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">But that throws a wrench in the works of people who want to be "-Wall"<br>
clean... unless you mean "deprecated" in the sense of being *documented*<br>
as deprecated rather than actually marked as such (causing deprecation<br>
warnings during compilation).<br>
</blockquote></span></div><div class="gmail_extra"><br></div>I don't think making life easy for -Wall clean people should be a goal. The whole point of warnings is that they indicate things that might not be a problem. Otherwise, they’d be errors. This is especially true for warnings that only show up if you use -Wall instead of -W.<span class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br><div class="m_735077413886376515gmail_signature" data-smartmail="gmail_signature">Dave Menendez <<a href="mailto:dave@zednenem.com" target="_blank">dave@zednenem.com</a>><br><<a href="http://www.eyrie.org/~zednenem/" target="_blank">http://www.eyrie.org/~<wbr>zednenem/</a>></div>
</font></span></div></div>
<br>______________________________<wbr>_________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org">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-<wbr>bin/mailman/listinfo/libraries</a><br>
<br></blockquote></div><br></div>