[Haskell-cafe] Template Haskell and Haddock

kudah kudahkukarek at gmail.com
Wed Jul 31 19:29:18 CEST 2013

On Wed, 31 Jul 2013 15:18:32 +0200 "Jose A. Lopes"
<jabolopes at google.com> wrote:

> Is there a way to access docstrings through Template Haskell ?
> For example, access the docstring of a function declaration ?

No, but I believe you can access comments and annotations using a
ghc plugin. See https://github.com/thoughtpolice/strict-ghc-plugin for example.

More information about the Haskell-Cafe mailing list