diff options
author | Thomas Schilling <nominolo@googlemail.com> | 2008-07-20 17:21:39 +0000 |
---|---|---|
committer | Thomas Schilling <nominolo@googlemail.com> | 2008-07-20 17:21:39 +0000 |
commit | 53f3c267e9378f48d3a6df45a9ecb616fac991f6 (patch) | |
tree | a65477e93bc72b4fad536f29810d5efbd8266117 /compiler | |
parent | aa653c65e270d820cd0d39837bc7025d0f89427c (diff) | |
download | haskell-53f3c267e9378f48d3a6df45a9ecb616fac991f6.tar.gz |
Fix Haddock errors.
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/prelude/PrelNames.lhs | 32 | ||||
-rw-r--r-- | compiler/prelude/PrelRules.lhs | 2 |
2 files changed, 17 insertions, 17 deletions
diff --git a/compiler/prelude/PrelNames.lhs b/compiler/prelude/PrelNames.lhs index 57de3b08df..193c1eb83f 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 2555dcc3eb..bacd1bc8e0 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} |