All of the hsSyn ones. and the Wiki page is https://ghc.haskell.org/trac/ghc/wiki/GhcAstAnnotations
They need to be updated whenever the Parser.y changes in a way that one of the keywords that is not otherwise captured in the AST is introduced, or moved. Alan On Thu, Jan 15, 2015 at 3:48 PM, Jan Stolarek <[email protected]> wrote: > > I am not sure what the best way is to add an internal source code link to > > it too without disturbing the haddock. I am open for suggestions. > For me as a developer the most important thing is when and how do I need > to add/modify these > comments when working with the source code? First place where I started > looking was the wiki but > surprisingly I couldn't find a page about API annotations. Does such a > page exist? > The best thing IMO would be to add for each data type reference to a Note > that explains how to > work with these annotations. But I'm not sure if that's feasible. How many > data types have these > annotations? > > Janek >
_______________________________________________ ghc-devs mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-devs
