<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Mar 3, 2016 at 11:58 AM, Eric Seidel <span dir="ltr"><<a href="mailto:eric@seidel.io" target="_blank">eric@seidel.io</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Mar 2, 2016, at 23:54, Christopher Allen wrote:<br>
> I'd like to see how warm people would be to catching GHC's type error<br>
> quality up a bit.<br>
><br>
> I did a write-up on a confusion a reader of our book had:<br>
><br>
> <a href="https://gist.github.com/bitemyapp/c27c721b92dab0248433" rel="noreferrer" target="_blank">https://gist.github.com/bitemyapp/c27c721b92dab0248433</a><div style="display:inline-block;width:16px;height:16px"> </div><br>
<br>
</span>Wow, this is a pretty nasty error message. In particular because it<br>
relies on the overloaded nature of integer literals.</blockquote></div><br>We actually had another such situation come up in #haskell yesterday, btw. Someone confused type constructors and data constructors, and the error message assumed they wanted DataKinds and type level programming. This is kinda bad for newcomers.<br><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>