From: Thomas Schilling Date: Sun, 20 Jul 2008 17:21:39 +0000 (+0000) Subject: Fix Haddock errors. X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=53f3c267e9378f48d3a6df45a9ecb616fac991f6 Fix Haddock errors. --- diff --git a/compiler/prelude/PrelNames.lhs b/compiler/prelude/PrelNames.lhs index 57de3b0..193c1eb 100644 --- a/compiler/prelude/PrelNames.lhs +++ b/compiler/prelude/PrelNames.lhs @@ -6,33 +6,33 @@ Nota Bene: all Names defined in here should come from the base package -* ModuleNames for prelude modules, + - ModuleNames for prelude modules, e.g. pREL_BASE_Name :: ModuleName -* Modules for prelude modules + - Modules for prelude modules e.g. pREL_Base :: Module -* Uniques for Ids, DataCons, TyCons and Classes that the compiler - "knows about" in some way + - Uniques for Ids, DataCons, TyCons and Classes that the compiler + "knows about" in some way e.g. intTyConKey :: Unique minusClassOpKey :: Unique -* Names for Ids, DataCons, TyCons and Classes that the compiler - "knows about" in some way + - Names for Ids, DataCons, TyCons and Classes that the compiler + "knows about" in some way e.g. intTyConName :: Name minusName :: Name - One of these Names contains + One of these Names contains (a) the module and occurrence name of the thing (b) its Unique - The may way the compiler "knows about" one of these things is - where the type checker or desugarer needs to look it up. For - example, when desugaring list comprehensions the desugarer - needs to conjure up 'foldr'. It does this by looking up - foldrName in the environment. - -* RdrNames for Ids, DataCons etc that the compiler may emit into - generated code (e.g. for deriving). It's not necessary to know - the uniques for these guys, only their names + The may way the compiler "knows about" one of these things is + where the type checker or desugarer needs to look it up. For + example, when desugaring list comprehensions the desugarer + needs to conjure up 'foldr'. It does this by looking up + foldrName in the environment. + + - RdrNames for Ids, DataCons etc that the compiler may emit into + generated code (e.g. for deriving). It's not necessary to know + the uniques for these guys, only their names \begin{code} diff --git a/compiler/prelude/PrelRules.lhs b/compiler/prelude/PrelRules.lhs index 2555dcc..bacd1bc 100644 --- a/compiler/prelude/PrelRules.lhs +++ b/compiler/prelude/PrelRules.lhs @@ -564,4 +564,4 @@ match_inline (Type _ : e : _) = Just (mkApps unf args1) match_inline _ = Nothing -\end{code} +\end{code}