I'm pleased to announce the latest release of the servant-pandoc
library: https://hackage.haskell.org/package/servant-pandoc-0.5.0.0
servant-pandoc allows you to take the documentation created with
servant-docs and use Pandoc to convert it into whichever format you
want (rather than the Markdown
Hi,
in a GHC plugin, I want to synthesize simple data structures, and
insert them into the code. What is the most idiomatic way of writing a
function, say,
foo :: Maybe String -> CoreExpr
or
foo :: Maybe String -> CoreM CoreExpr
so that the resulting CoreExpr describes the input.