"Merge-buddy" request for GHC's exact-print annotations


If you are looking for a way to contribute to GHC’s editor tooling, stepping up as @alanz’s “merge-buddy” would be a good way to do so. It is a lot of work to transform GHC’s internal data structures in such a way that it supports usable source code formatters and language servers, and @alanz has been doing this work for years at this point.

To quote @simonpj’s reply:

I hope someone responds to Alan’s call. Simplifying exact-print
annotations is a noble goal, and Alan has been working hard on it.

I hope someone feels able to support him. I don’t think you need to be an
exact-print expert. I’m sure Alan would be happy to teach you. And that
learning journey might be very useful in itself, because it’ll tell you
want extra documentation (especially overview notes) is needed.

Big thanks to Alan



If one were to be interested… where would one apply? :thinking:

I’d like to help out, but will probably have to learn a lot about GHC internals/building/testing/etc. before being able to be of significant use.

1 Like

Thank you for considering to contribute!

I think writing @alanz or simply pinging him on one of the MRs is the simplest way to get in touch. You can find his e-mail from the linked mailing list thread if that is what you prefer.

Either way, you need to create an account on the GitLab instance in order to review MRs. It should take a short time for @chreekat to approve you.

If you want to dive further into GHC development, I recommend you give the newcomers page of the wiki a read.

1 Like