[commit: haddock] T6018-injective-type-families, adamse-D1033, ghc-head, master, metainfo, wip/10268, wip/10313, wip/D538, wip/D538-1, wip/D538-2, wip/D538-3, wip/D538-4, wip/D538-5, wip/D538-6, wip/D548-master, wip/D548-master-2, wip/T10483, wip/T9840, wip/api-annot-tweaks-7.10, wip/api-annots-ghc-7.10-3, wip/orf-reboot: State intention rather than implementation details in Haddock comment (c2b84c0)

git at git.haskell.org git at git.haskell.org
Wed Jul 8 08:33:03 UTC 2015


Repository : ssh://git@git.haskell.org/haddock

On branches: T6018-injective-type-families,adamse-D1033,ghc-head,master,metainfo,wip/10268,wip/10313,wip/D538,wip/D538-1,wip/D538-2,wip/D538-3,wip/D538-4,wip/D538-5,wip/D538-6,wip/D548-master,wip/D548-master-2,wip/T10483,wip/T9840,wip/api-annot-tweaks-7.10,wip/api-annots-ghc-7.10-3,wip/orf-reboot
Link       : http://git.haskell.org/haddock.git/commitdiff/c2b84c0c55bce1120db9826391de0466c33b3062

>---------------------------------------------------------------

commit c2b84c0c55bce1120db9826391de0466c33b3062
Author: Simon Hengel <sol at typeful.net>
Date:   Sun Nov 16 08:51:38 2014 +0800

    State intention rather than implementation details in Haddock comment


>---------------------------------------------------------------

c2b84c0c55bce1120db9826391de0466c33b3062
 haddock-library/src/Documentation/Haddock/Parser.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/haddock-library/src/Documentation/Haddock/Parser.hs b/haddock-library/src/Documentation/Haddock/Parser.hs
index 8b4ec78..c323ce0 100644
--- a/haddock-library/src/Documentation/Haddock/Parser.hs
+++ b/haddock-library/src/Documentation/Haddock/Parser.hs
@@ -331,7 +331,7 @@ moreContent :: Monoid a => Parser a
             -> Parser ([String], Either (DocH mod Identifier) a)
 moreContent item = first . (:) <$> nonEmptyLine <*> more item
 
--- | Runs the 'parseParas' parser on an indented paragraph.
+-- | Parses an indented paragraph.
 -- The indentation is 4 spaces.
 indentedParagraphs :: Parser (DocH mod Identifier)
 indentedParagraphs = parseParas . concat <$> dropFrontOfPara "    "



More information about the ghc-commits mailing list