Discussion: adding displayException to Exception class
David Feuer
david.feuer at gmail.com
Wed Oct 29 00:26:21 UTC 2014
On Tue, Oct 28, 2014 at 8:17 PM, John Lato <jwlato at gmail.com> wrote:
> I guess I'm moderately sympathetic to the idea, although if I'm completely
> honest it seems like a lot of make-work for little tangible benefit.
>
> It would make more sense to me if there were also a push to make Read a
> superclass of Exception, in which case Show should clearly be for
> serialization (it is possible to make this work for
> existentially-quantified data, but it would require manual instances).
>
> It would make even more sense if Show were meant to be some sort of
> user-readable string, and we used a different class (paired with Read) for
> serialization. Unfortunately that ship sailed long ago.
>
>
Isn't there at least one prettyprinting package out there, with some sort
of prettyprintable class? Could we steal it?
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20141028/e08f8a03/attachment.html>
More information about the Libraries
mailing list