aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/src/Documentation/Haddock
diff options
context:
space:
mode:
authorSimon Hengel <sol@typeful.net>2014-11-16 08:51:38 +0800
committerSimon Hengel <sol@typeful.net>2014-11-16 08:51:38 +0800
commitc2b84c0c55bce1120db9826391de0466c33b3062 (patch)
tree3b23e3fe420b93f7acc979db8faeae3aecec2eb0 /haddock-library/src/Documentation/Haddock
parentb4b25f5b5777939584aa3c548a855490d5791f73 (diff)
State intention rather than implementation details in Haddock comment
Diffstat (limited to 'haddock-library/src/Documentation/Haddock')
-rw-r--r--haddock-library/src/Documentation/Haddock/Parser.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-library/src/Documentation/Haddock/Parser.hs b/haddock-library/src/Documentation/Haddock/Parser.hs
index 8b4ec78f..c323ce0c 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 " "