Note [Api annotations]

Ben Gamari ben at smart-cactus.org
Wed Jul 20 11:22:59 UTC 2016


Matthew Pickering <matthewtpickering at gmail.com> writes:

> These comments are meant to indicate which annotations each AST
> fragment has. However, they are rarely kept up to date and ultimately
> not that useful. If someone wants to
> know then it is easier to look at the `Annotate` module in
> `ghc-exactprint`where this information also exists programatically.
>
Hmm, the fact that this module is outside of GHC is a bit unfortunate.
If I'm looking at a random GHC commit from a year ago how am I to know
which annotations I can expect? I guess the testsuite?

Cheers,

- Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20160720/e21b2c47/attachment.sig>


More information about the ghc-devs mailing list