[GHC] #9822: Add displayException to Exception typeclass
#9822: Add displayException to Exception typeclass -------------------------------------+------------------------------------- Reporter: snoyberg | Owner: snoyberg Type: feature request | Status: new Priority: normal | Milestone: Component: libraries/base | Version: 7.9 Keywords: | Operating System: Architecture: Unknown/Multiple | Unknown/Multiple Difficulty: Easy (less than 1 | Type of failure: hour) | None/Unknown Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Discussed on the libraries list at: https://www.haskell.org/pipermail/libraries/2014-November/024176.html I am only implementing part (1) of this proposal due to lack of consensus on part (2). -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9822> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9822: Add displayException to Exception typeclass -------------------------------------+------------------------------------- Reporter: snoyberg | Owner: snoyberg Type: feature | Status: new request | Milestone: 7.10.1 Priority: normal | Version: Component: | Keywords: libraries/base | Architecture: Unknown/Multiple Resolution: | Difficulty: Easy (less than 1 Operating System: | hour) Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by snoyberg): * version: 7.9 => * milestone: => 7.10.1 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9822#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9822: Add displayException to Exception typeclass -------------------------------------+------------------------------------- Reporter: snoyberg | Owner: snoyberg Type: feature | Status: new request | Milestone: 7.10.1 Priority: normal | Version: Component: | Keywords: libraries/base | Architecture: Unknown/Multiple Resolution: | Difficulty: Easy (less than 1 Operating System: | hour) Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by snoyberg): Phabricator link: https://phabricator.haskell.org/D517 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9822#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9822: Add displayException to Exception typeclass -------------------------------------+------------------------------------- Reporter: snoyberg | Owner: snoyberg Type: feature | Status: patch request | Milestone: 7.10.1 Priority: normal | Version: Component: Core | Keywords: base Libraries | Architecture: Unknown/Multiple Resolution: | Difficulty: Easy (less than 1 Operating System: | hour) Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D517 | -------------------------------------+------------------------------------- Changes (by hvr): * cc: core-libraries-committee@… (added) * keywords: => base * differential: => Phab:D517 * component: libraries/base => Core Libraries * status: new => patch -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9822#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9822: Add displayException to Exception typeclass -------------------------------------+------------------------------------- Reporter: snoyberg | Owner: snoyberg Type: feature | Status: patch request | Milestone: 7.10.1 Priority: normal | Version: Component: Core | Keywords: base Libraries | Architecture: Unknown/Multiple Resolution: | Difficulty: Easy (less than 1 Operating System: | hour) Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D517 | -------------------------------------+------------------------------------- Comment (by Herbert Valerio Riedel <hvr@…>): In [changeset:"3222b7ae347be092bdd414f7b43bee18861b0e1e/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="3222b7ae347be092bdd414f7b43bee18861b0e1e" Add displayException method to Exception (#9822) Defaults to using `show` to prevent any breakage of existing code. Also provide a custom implementation for `SomeException` which uses the underlying exception's `displayException`. Differential Revision: https://phabricator.haskell.org/D517 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9822#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9822: Add displayException to Exception typeclass -------------------------------------+------------------------------------- Reporter: snoyberg | Owner: snoyberg Type: feature | Status: closed request | Milestone: 7.10.1 Priority: normal | Version: Component: Core | Keywords: base Libraries | Architecture: Unknown/Multiple Resolution: fixed | Difficulty: Easy (less than 1 Operating System: | hour) Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D517 | -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: patch => closed * resolution: => fixed Comment: Merged, thanks! -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9822#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC