[GHC] #7631: Allow to differentiate between newtypes and datatypes when using Generics

GHC cvs-ghc at haskell.org
Wed Feb 13 11:42:02 CET 2013


#7631: Allow to differentiate between newtypes and datatypes when using Generics
-----------------------------+----------------------------------------------
Reporter:  Feuerbach         |          Owner:  dreixel          
    Type:  feature request   |         Status:  new              
Priority:  normal            |      Component:  libraries (other)
 Version:  7.7               |       Keywords:  generics         
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple 
 Failure:  None/Unknown      |      Blockedby:                   
Blocking:                    |        Related:                   
-----------------------------+----------------------------------------------

Comment(by jpm@…):

 commit 6046b25ea35291f9fb0b30633f6f8b8d83a7a00a
 {{{
 Author: Jose Pedro Magalhaes <jpm at cs.ox.ac.uk>
 Date:   Wed Feb 13 10:40:16 2013 +0000

     Add isNewtype to GHC.Generics (FIX #7631)

  compiler/prelude/PrelNames.lhs       |    5 +++--
  compiler/typecheck/TcGenGenerics.lhs |    7 +++++--
  2 files changed, 8 insertions(+), 4 deletions(-)
 }}}

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



More information about the ghc-tickets mailing list