Proposal: Continue the displayException program

Michael Snoyman michael at snoyman.com
Thu May 10 03:44:55 UTC 2018


As I'm guessing you'd expect, I'm +1 on this.

On Thu, May 10, 2018, 4:12 AM David Feuer <david.feuer at gmail.com> wrote:

> Several years ago, Michael Snoyman proposed [*] that we add a
> displayException method to the Exception class, and that we make GHC use it
> in the default handler. The first part of that proposal was accepted and
> implemented, but the second part was not, for reasons that are not very
> clear to me. I would like to re-propose that we change the default
> exception handler to use displayException instead of Show. This seems like
> a much better default, and anyone who wants to do it the old way can still
> change the top-level handler.
>
> [*] https://mail.haskell.org/pipermail/libraries/2014-November/024176.html
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20180510/b05e61ef/attachment.html>


More information about the Libraries mailing list