From f656de23cc8b73a08264886dfb91060f936f0d70 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 18 Jun 2014 10:54:56 -0700 Subject: Fixed haddock warnings. --- haddock-library/src/Documentation/Haddock/Parser.hs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/haddock-library/src/Documentation/Haddock/Parser.hs b/haddock-library/src/Documentation/Haddock/Parser.hs index 860271e1..37bf4ca7 100644 --- a/haddock-library/src/Documentation/Haddock/Parser.hs +++ b/haddock-library/src/Documentation/Haddock/Parser.hs @@ -342,11 +342,9 @@ takeNonEmptyLine = do -- | Blocks of text of the form: -- --- @ --- > foo --- > bar --- > baz --- @ +-- >> foo +-- >> bar +-- >> baz -- birdtracks :: Parser (DocH mod a) birdtracks = DocCodeBlock . DocString . intercalate "\n" . stripSpace <$> many1 line @@ -409,7 +407,7 @@ property :: Parser (DocH mod a) property = DocProperty . strip . decodeUtf8 <$> ("prop>" *> takeWhile1 (/= '\n')) -- | --- Paragraph level codeblock. Anything between the two delimiting @ is parsed +-- Paragraph level codeblock. Anything between the two delimiting \@ is parsed -- for markup. codeblock :: Parser (DocH mod Identifier) codeblock = -- cgit v1.2.3