[Haskell-cafe] [Haskell] ANNOUNCE: lens-family-th 0.1.0.0
Henning Thielemann
lemming at henning-thielemann.de
Sat Jul 7 14:45:20 CEST 2012
On Sat, 7 Jul 2012, Dan Burton wrote:
> > > Could the documentation be an argument of mkLenses?
>
> > Does haddock run on the template-haskell expanded code?
>
> TH macros must have type Q [Dec]. Dec has no constructor for comments, with the exception of pragmas. This
> might be feature request worthy, though it is a rather strange case to want to generate comments via a macro.
Alternatively, Haddock allows you to document functions in the export
list.
More information about the Haskell-Cafe
mailing list