diff options
author | David Waern <davve@dtek.chalmers.se> | 2007-10-24 16:37:18 +0000 |
---|---|---|
committer | David Waern <davve@dtek.chalmers.se> | 2007-10-24 16:37:18 +0000 |
commit | 5ab2abc9ce2d7df19a49a5de5c79d39b6ff02e3b (patch) | |
tree | c42ccf56ebff899b1be4650b04efb264b784d463 | |
parent | f7909204c329d4df669b3ce7fd85eace1539a0a1 (diff) |
Make it possible to run haddock on itself
-rw-r--r-- | src/Haddock/Backends/Html.hs | 4 | ||||
-rw-r--r-- | src/Haddock/Utils/BlockTable.hs | 32 |
2 files changed, 18 insertions, 18 deletions
diff --git a/src/Haddock/Backends/Html.hs b/src/Haddock/Backends/Html.hs index 65cc8ee2..c4c769a2 100644 --- a/src/Haddock/Backends/Html.hs +++ b/src/Haddock/Backends/Html.hs @@ -1114,7 +1114,7 @@ expandField :: HsFieldDecl -> [HsFieldDecl] expandField (HsFieldDecl ns ty doc) = [ HsFieldDecl [n] ty doc | n <- ns ] -} --- | Print the LHS of a data/newtype declaration. +-- | Print the LHS of a data\/newtype declaration. -- Currently doesn't handle 'data instance' decls or kind signatures ppDataHeader :: Bool -> TyClDecl DocName -> Html ppDataHeader summary decl @@ -1129,7 +1129,7 @@ ppDataHeader summary decl -- | data context => ... = --- ^ Print this part of a data/newtype declaration +-- ^ Print this part of a data\/newtype declaration ppDataHead :: Bool -> Name -> [Name] -> Html ppDataHead summary name tyvars diff --git a/src/Haddock/Utils/BlockTable.hs b/src/Haddock/Utils/BlockTable.hs index ed51654e..7bd9b973 100644 --- a/src/Haddock/Utils/BlockTable.hs +++ b/src/Haddock/Utils/BlockTable.hs @@ -1,19 +1,19 @@ ------------------------------------------------------------------------------ --- --- Module : Text.Html.BlockTable --- Copyright : (c) Andy Gill, and the Oregon Graduate Institute of --- Science and Technology, 1999-2001 --- License : BSD-style (see the file libraries/core/LICENSE) --- --- Maintainer : Andy Gill <andy@galconn.com> --- Stability : experimental --- Portability : portable --- --- $Id: BlockTable.hs,v 1.2 2002/07/24 09:42:18 simonmar Exp $ --- --- An Html combinator library --- ------------------------------------------------------------------------------ +{- | + + Module : Text.Html.BlockTable + Copyright : (c) Andy Gill, and the Oregon Graduate Institute of + Science and Technology, 1999-2001 + License : BSD-style (see the file libraries/core/LICENSE) + + Maintainer : Andy Gill <andy@galconn.com> + Stability : experimental + Portability : portable + + $Id: BlockTable.hs,v 1.2 2002/07/24 09:42:18 simonmar Exp $ + + An Html combinator library + +-} module Haddock.Utils.BlockTable ( |