#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 <[email protected]>
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
_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets