diff options
author | Chaitanya Koparkar <ckoparkar@gmail.com> | 2020-07-03 09:15:45 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-07-07 13:55:59 -0400 |
commit | e61d539527a7398017f759c67621ba18a15878f7 (patch) | |
tree | e080e9945e5470c97161cecd1b8011a1347749e2 | |
parent | 7aa6ef110d8cc6626b1cf18d85a37cbac53e2795 (diff) | |
download | haskell-e61d539527a7398017f759c67621ba18a15878f7.tar.gz |
ghc-prim: Turn some comments into haddocks
[ci skip]
-rw-r--r-- | libraries/ghc-prim/GHC/Types.hs | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/libraries/ghc-prim/GHC/Types.hs b/libraries/ghc-prim/GHC/Types.hs index ea36868e2d..2607f177ae 100644 --- a/libraries/ghc-prim/GHC/Types.hs +++ b/libraries/ghc-prim/GHC/Types.hs @@ -488,12 +488,12 @@ can't conveniently come up with an Addr#. #include "MachDeps.h" data Module = Module - TrName -- Package name - TrName -- Module name + TrName -- ^ Package name + TrName -- ^ Module name data TrName - = TrNameS Addr# -- Static - | TrNameD [Char] -- Dynamic + = TrNameS Addr# -- ^ Static + | TrNameD [Char] -- ^ Dynamic -- | A de Bruijn index for a binder within a 'KindRep'. type KindBndr = Int @@ -520,8 +520,9 @@ data TypeLitSort = TypeLitSymbol | TypeLitNat -- Show instance for TyCon found in GHC.Show -data TyCon = TyCon WORD64_TY WORD64_TY -- Fingerprint - Module -- Module in which this is defined - TrName -- Type constructor name - Int# -- How many kind variables do we accept? - KindRep -- A representation of the type's kind +data TyCon = TyCon WORD64_TY -- ^ Fingerprint (high) + WORD64_TY -- ^ Fingerprint (low) + Module -- ^ Module in which this is defined + TrName -- ^ Type constructor name + Int# -- ^ How many kind variables do we accept? + KindRep -- ^ A representation of the type's kind |