[Haskell-cafe] [Haskell] ANNOUNCE: lens-family-th 0.1.0.0
danburton.email at gmail.com
Sat Jul 7 14:22:24 CEST 2012
>>> I don't know if it is possible to add haddock to functions whose type
>>> signatures are generated by template haskell.
>> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe