TemplateHaskell usage of Annotations
Wed Oct 9 19:07:50 UTC 2013
One related pain point for me is that it isn't currently possible to generate haddocks via template Haskell. I would love to be able to generate haddocks for generated lenses.
Right now the workaround with giving signatures with haddocks and not definitions and splicing in the bodies is brittle, prone to mistakes, and hard to use.
> On Oct 9, 2013, at 1:48 PM, Gergely Risko <gergely at risko.hu> wrote:
> In the recent weeks I've been working on making it possilbe to use
> Annotations (both generate and reify) from TemplateHaskell.
> We've hit some gray area where design decisions were needed during the
> reviews. SPJ asked me to write up a wikipage on my use-case and the
> approach that is taken in the current patches, so we can discuss
> alternative ideas, problems and questions openly.
> Therefore, if you're interested please use this thread, the bug tracker
> or the wiki to comment on these issues!
> Gergely Risko
> ghc-devs mailing list
> ghc-devs at haskell.org
More information about the ghc-devs