Fix Haddock errors.
authorThomas Schilling <nominolo@googlemail.com>
Sun, 20 Jul 2008 16:56:37 +0000 (16:56 +0000)
committerThomas Schilling <nominolo@googlemail.com>
Sun, 20 Jul 2008 16:56:37 +0000 (16:56 +0000)
compiler/basicTypes/DataCon.lhs
compiler/basicTypes/MkId.lhs
compiler/basicTypes/RdrName.lhs

index e5a624f..844c69b 100644 (file)
@@ -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
index 637d4c5..0c0b01a 100644 (file)
@@ -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
+--  <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.  
index 5e18497..11d3831 100644 (file)
@@ -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.