<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div>And here’s the link. Oops!<div class=""><br class=""></div><div class="">  <a href="https://www.cs.kent.ac.uk/people/staff/sjt/craft2e/errors.html" class="">https://www.cs.kent.ac.uk/people/staff/sjt/craft2e/errors.html</a></div><div class=""><br class=""></div><div class="">S.</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 6 Jun 2017, at 12:27, Simon Thompson <<a href="mailto:s.j.thompson@kent.ac.uk" class="">s.j.thompson@kent.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I did something like this for Hugs a long time ago. Not directly relevant, but might be of interest.<div class=""><br class=""></div><div class="">Simon T.<br class=""><div class=""><blockquote type="cite" class=""><div class="">On 6 Jun 2017, at 08:46, Siddharth Bhat <<a href="mailto:siddu.druid@gmail.com" class="">siddu.druid@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello all,<div class=""><br class=""></div><div class="">A discussion of GHC and error messages came up on ghc-devs. I'd like to give back to the community and try to improve this part of GHC. So, I created a repo to collect error messages (<a href="https://github.com/bollu/hask-error-messages-catalog" class="">https://github.com/bollu/hask-error-messages-catalog</a>). That way, there's some concrete context for anyone who's working on the error messages subsystem of GHC.</div><div class=""><br class=""></div><div class="">Elm does this as well (<a href="https://github.com/elm-lang/error-message-catalog" class="">https://github.com/elm-lang/error-message-catalog</a>), though they catalogue *all* errors.<br class=""></div><div class=""><br class=""></div><div class="">I'd be grateful for short examples where GHC generates unintuitive error messages, and perhaps a short explanation of what *would* be useful if possible. If you do have certain examples, please either open a pull request against the repository, or post a snippet on the mailing list. </div><div class=""><br class=""></div><div class="">Thanks for the help,</div><div class="">~Siddharth</div></div><div dir="ltr" class="">-- <br class=""></div><div data-smartmail="gmail_signature" class=""><div dir="ltr" class="">Sending this from my phone, please excuse any typos!</div></div>
_______________________________________________<br class="">Haskell-Cafe mailing list<br class="">To (un)subscribe, modify options or view archives go to:<br class=""><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" class="">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br class="">Only members subscribed via the mailman list are allowed to post.</div></blockquote></div><br class=""><div class="">
<div class=""><span style="font-family: LucidaGrande;" class="">Simon Thompson | Professor of Logic and Computation </span><br style="font-family: LucidaGrande;" class=""><span style="font-family: LucidaGrande;" class="">School of Computing | University of Kent | Canterbury, CT2 7NF, UK</span><br style="font-family: LucidaGrande;" class=""><a href="mailto:s.j.thompson@kent.ac.uk" style="font-family: LucidaGrande;" class="">s.j.thompson@kent.ac.uk</a><span style="font-family: LucidaGrande;" class=""> | M +44 7986 085754 | W </span><a href="http://www.cs.kent.ac.uk/~sjt" style="font-family: LucidaGrande;" class="">www.cs.kent.ac.uk/~sjt</a></div>

</div>
<br class=""></div></div>_______________________________________________<br class="">Haskell-Cafe mailing list<br class="">To (un)subscribe, modify options or view archives go to:<br class=""><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" class="">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br class="">Only members subscribed via the mailman list are allowed to post.</div></blockquote></div><br class="">
<br class=""></div></body></html>