projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'ghc-generics' of http://darcs.haskell.org/ghc into ghc-generics
[ghc-hetmet.git]
/
compiler
/
types
/
Generics.lhs
diff --git
a/compiler/types/Generics.lhs
b/compiler/types/Generics.lhs
index
b608128
..
50b6b96
100644
(file)
--- a/
compiler/types/Generics.lhs
+++ b/
compiler/types/Generics.lhs
@@
-50,12
+50,6
@@
canDoGenerics tycon
= let result = not (any bad_con (tyConDataCons tycon)) -- See comment below
-- We do not support datatypes with context (for now)
&& null (tyConStupidTheta tycon)
= let result = not (any bad_con (tyConDataCons tycon)) -- See comment below
-- We do not support datatypes with context (for now)
&& null (tyConStupidTheta tycon)
-{-
- -- Primitives are (probably) not representable either
- && not (isPrimTyCon tycon)
- -- Foreigns are (probably) not representable either
- && not (isForeignTyCon tycon)
--}
-- We don't like type families
&& not (isFamilyTyCon tycon)
-- We don't like type families
&& not (isFamilyTyCon tycon)