Building benchmark 'bench-cmark-gfm' for cmark-gfm-0.1.3..
[1 of 1] Compiling Main ( bench/bench-cmark.hs, dist/build/bench-cmark-gfm/bench-cmark-gfm-tmp/Main.o )
bench/bench-cmark.hs:23:24: error:
• Couldn't match type ‘Text -> Text’ with ‘Text’
Expected type: Text -> Text
Actual type: [CMarkGFM.CMarkExtension] -> Text -> Text
• Probable cause: ‘CMarkGFM.commonmarkToHtml’ is applied to too few arguments
In the second argument of ‘mkBench’, namely
‘(CMarkGFM.commonmarkToHtml [])’
In the expression:
mkBench "cmark" (CMarkGFM.commonmarkToHtml []) sample
In the first argument of ‘defaultMain’, namely
‘[mkBench
"cheapskate"
(T.concat
. toChunks
. Blaze.renderHtml
. CheapskateHtml.renderDoc . Cheapskate.markdown Markdown.def)
sample,
mkBench "discount" (Discount.parseMarkdownUtf8 []) sample,
mkBench
"markdown"
(T.concat
. toChunks
. Blaze.renderHtml
. Markdown.markdown Markdown.def . fromChunks . (: []))
sample,
mkBench "cmark" (CMarkGFM.commonmarkToHtml []) sample]’
|
23 | , mkBench "cmark" (CMarkGFM.commonmarkToHtml []) sample
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Benchmarks failing to build in Stackage Nightly: