[GHC] #10738: Make Exception datatypes into newtypes

GHC ghc-devs at haskell.org
Wed Aug 5 12:44:08 UTC 2015


#10738: Make Exception datatypes into newtypes
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                   Owner:
                                     |  RyanGlScott
            Type:  feature request   |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  libraries/base    |                 Version:  7.10.2
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  #4961             |  Differential Revisions:  Phab:D1131
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"b12dba7829742de98a483645142c7962b9dd9f3f/ghc"
 b12dba78/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="b12dba7829742de98a483645142c7962b9dd9f3f"
 Make Exception datatypes into newtypes

 Certain instances of `Exception` are simply datatypes with only one
 argument, which should be `newtype`s.

 Reviewers: ekmett, hvr, austin, bgamari

 Reviewed By: bgamari

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D1131

 GHC Trac Issues: #10738
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10738#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list