API Annotations status report

Alan & Kim Zimmerman alan.zimm at gmail.com
Tue Jan 6 20:57:00 UTC 2015


A quick status report on API Annotations.

I have managed to integrate the API Annotations into the ghc-7.10 branch of
HaRe [1], with a test comand to simply roundtrip the source.

So the command

    ghc-hare roundtrip filename.hs

will produce a file 'filename.refactored.hs' which should be the same as
the original, except it does not preserve trailing whitespace or tabs.

This makes use of the updated ghc-mod for 7.10 [2], and ghc-exactprint [3]

However this only works for the ghc-7.10 branch with D538 [4] applied.

Regards
  Alan

[1] https://github.com/alanz/HaRe/tree/ghc-7.10
[2] https://github.com/DanielG/ghc-mod
[3] https://github.com/alanz/ghc-exactprint/tree/wip
[4] https://phabricator.haskell.org/D538
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20150106/9b101cb8/attachment.html>


More information about the ghc-devs mailing list