From 9f703fe41b8300777dc8fcd8da94a3a082fdcfbb Mon Sep 17 00:00:00 2001 From: Thomas Schilling Date: Sun, 20 Jul 2008 16:56:37 +0000 Subject: [PATCH] Fix Haddock errors. --- compiler/basicTypes/DataCon.lhs | 2 +- compiler/basicTypes/MkId.lhs | 14 +++++++------- compiler/basicTypes/RdrName.lhs | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/compiler/basicTypes/DataCon.lhs b/compiler/basicTypes/DataCon.lhs index e5a624f..844c69b 100644 --- a/compiler/basicTypes/DataCon.lhs +++ b/compiler/basicTypes/DataCon.lhs @@ -275,7 +275,7 @@ data DataCon -- Reason: less confusing, and easier to generate IfaceSyn dcEqSpec :: [(TyVar,Type)], -- Equalities derived from the result type, - -- *as written by the programmer* + -- /as written by the programmer/ -- This field allows us to move conveniently between the two ways -- of representing a GADT constructor's type: -- MkT :: forall a b. (a :=: [b]) => b -> T a diff --git a/compiler/basicTypes/MkId.lhs b/compiler/basicTypes/MkId.lhs index 637d4c5..0c0b01a 100644 --- a/compiler/basicTypes/MkId.lhs +++ b/compiler/basicTypes/MkId.lhs @@ -1,4 +1,4 @@ -\% +% % (c) The University of Glasgow 2006 % (c) The AQUA Project, Glasgow University, 1998 % @@ -6,17 +6,17 @@ This module contains definitions for the IdInfo for things that have a standard form, namely: -* data constructors -* record selectors -* method and superclass selectors -* primitive operations +- data constructors +- record selectors +- method and superclass selectors +- primitive operations \begin{code} {-# OPTIONS -fno-warn-missing-signatures #-} -- The above warning supression flag is a temporary kludge. -- While working on this module you are encouraged to remove it and fix -- any warnings in the module. See --- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings +-- -- for details module MkId ( @@ -544,7 +544,7 @@ mkRecordSelId tycon field_label data_tv_set = tyVarsOfType data_ty data_tvs = varSetElems data_tv_set - -- *Very* tiresomely, the selectors are (unnecessarily!) overloaded over + -- _Very_ tiresomely, the selectors are (unnecessarily!) overloaded over -- just the dictionaries in the types of the constructors that contain -- the relevant field. [The Report says that pattern matching on a -- constructor gives the same constraints as applying it.] Urgh. diff --git a/compiler/basicTypes/RdrName.lhs b/compiler/basicTypes/RdrName.lhs index 5e18497..11d3831 100644 --- a/compiler/basicTypes/RdrName.lhs +++ b/compiler/basicTypes/RdrName.lhs @@ -570,9 +570,9 @@ data ImpItemSpec -- Describes import info a particular Name is_explicit :: Bool, is_iloc :: SrcSpan -- Location of the import item } - -- The is_explicit field is True iff the thing was named - -- *explicitly* in the import specs rather - -- than being imported as part of a "..." group + -- The is_explicit field is True iff the thing was + -- named /explicitly/ in the import specs rather + -- than being imported as part of a "..." group -- e.g. import C( T(..) ) -- Here the constructors of T are not named explicitly; -- only T is named explicitly. -- 1.7.10.4