projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
44ac4f5
)
[project @ 2005-07-26 08:16:24 by simonpj]
author
simonpj
<unknown>
Tue, 26 Jul 2005 08:16:24 +0000
(08:16 +0000)
committer
simonpj
<unknown>
Tue, 26 Jul 2005 08:16:24 +0000
(08:16 +0000)
Comments
ghc/compiler/types/TyCon.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/types/TyCon.lhs
b/ghc/compiler/types/TyCon.lhs
index
7d42e1a
..
3bec98d
100644
(file)
--- a/
ghc/compiler/types/TyCon.lhs
+++ b/
ghc/compiler/types/TyCon.lhs
@@
-178,6
+178,7
@@
data AlgTyConRhs
-- INVARIANT: Kept in order of increasing tag
-- (see the tag assignment in DataCon.mkDataCon)
Bool -- Cached: True <=> an enumeration type
-- INVARIANT: Kept in order of increasing tag
-- (see the tag assignment in DataCon.mkDataCon)
Bool -- Cached: True <=> an enumeration type
+ -- Includes data types with no constructors.
| NewTyCon -- Newtypes always have exactly one constructor
DataCon -- The unique constructor; it has no existentials
| NewTyCon -- Newtypes always have exactly one constructor
DataCon -- The unique constructor; it has no existentials