Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed weigh-pandoc so it compiles again.
  • Loading branch information
jgm committed Mar 15, 2017
1 parent 2235c2a commit 2827570
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benchmark/weigh-pandoc.hs
Expand Up @@ -7,7 +7,7 @@ main = do
mainWith $ do
func "Pandoc document" id doc
mapM_
(\(n,r) -> weighReader doc n (either (error . show) id . runPure . r def{ readerSmart = True }))
(\(n,r) -> weighReader doc n (either (error . show) id . runPure . r def{readerExtensions = pandocExtensions}))
[("markdown", readMarkdown)
,("html", readHtml)
,("docbook", readDocBook)
Expand All @@ -17,8 +17,8 @@ main = do
mapM_
(\(n,w) -> weighWriter doc n (either (error . show) id . runPure . w def))
[("markdown", writeMarkdown)
,("html", writeHtmlString)
,("docbook", writeDocbook)
,("html", writeHtml5String)
,("docbook", writeDocbook5)
,("latex", writeLaTeX)
,("commonmark", writeCommonMark)
]
Expand Down

0 comments on commit 2827570

Please sign in to comment.