[commit: ghc] master: TyCoRep: Add haddock sections (009a999)

git at git.haskell.org git at git.haskell.org
Thu Feb 25 14:40:33 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/009a99979437314a4cefa07b55a80fd13ea07c8c/ghc

>---------------------------------------------------------------

commit 009a99979437314a4cefa07b55a80fd13ea07c8c
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed Feb 24 11:20:26 2016 +0100

    TyCoRep: Add haddock sections


>---------------------------------------------------------------

009a99979437314a4cefa07b55a80fd13ea07c8c
 compiler/types/TyCoRep.hs | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/compiler/types/TyCoRep.hs b/compiler/types/TyCoRep.hs
index 5624730..4c60b6e 100644
--- a/compiler/types/TyCoRep.hs
+++ b/compiler/types/TyCoRep.hs
@@ -30,12 +30,12 @@ module TyCoRep (
         PredType, ThetaType,      -- Synonyms
         VisibilityFlag(..),
 
-        -- Coercions
+        -- * Coercions
         Coercion(..), LeftOrRight(..),
         UnivCoProvenance(..), CoercionHole(..),
         CoercionN, CoercionR, CoercionP, KindCoercion,
 
-        -- Functions over types
+        -- * Functions over types
         mkTyConTy, mkTyVarTy, mkTyVarTys,
         mkFunTy, mkFunTys, mkForAllTys,
         isLiftedTypeKind, isUnliftedTypeKind,
@@ -43,14 +43,14 @@ module TyCoRep (
         isRuntimeRepKindedTy, dropRuntimeRepArgs,
         sameVis,
 
-        -- Functions over binders
+        -- * Functions over binders
         binderType, delBinderVar, isInvisibleBinder, isVisibleBinder,
         isNamedBinder, isAnonBinder,
 
-        -- Functions over coercions
+        -- * Functions over coercions
         pickLR,
 
-        -- Pretty-printing
+        -- * Pretty-printing
         pprType, pprParendType, pprTypeApp, pprTvBndr, pprTvBndrs,
         pprTyThing, pprTyThingCategory, pprSigmaType,
         pprTheta, pprForAll, pprForAllImplicit, pprUserForAll,



More information about the ghc-commits mailing list