[commit: ghc] master: Document SumTyCon (26cfe29)
git at git.haskell.org
git at git.haskell.org
Sat Apr 7 19:44:43 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/26cfe291c5d581299a40ae5177979ddf1b465ec0/ghc
>---------------------------------------------------------------
commit 26cfe291c5d581299a40ae5177979ddf1b465ec0
Author: Simon Jakobi <simon.jakobi at gmail.com>
Date: Mon Apr 2 21:29:02 2018 +0200
Document SumTyCon
>---------------------------------------------------------------
26cfe291c5d581299a40ae5177979ddf1b465ec0
compiler/types/TyCon.hs | 1 +
1 file changed, 1 insertion(+)
diff --git a/compiler/types/TyCon.hs b/compiler/types/TyCon.hs
index 072e397..67c7b1b 100644
--- a/compiler/types/TyCon.hs
+++ b/compiler/types/TyCon.hs
@@ -863,6 +863,7 @@ data AlgTyConRhs
-- tuple?
}
+ -- | An unboxed sum type.
| SumTyCon {
data_cons :: [DataCon],
data_cons_size :: Int -- ^ Cached value: length data_cons
More information about the ghc-commits
mailing list