[Haskell-cafe] GHC API - list all exports of a module

Jochen Keil jochen.keil at gmail.com
Mon Feb 2 11:46:46 UTC 2015


Hello Peter,

On 02.02.2015 12:31, Peter Simons wrote:
> Hi Jochen,
> 
>  > My main goal would be to have a program which takes two modules of
>  > different versions, compare them and highlight the differences
>  > between them.
> 
> maybe http://hackage.haskell.org/package/hackage-diff would work for
> your purposes?

Thanks for the hint, this looks pretty good.

One thing though: hackage-diff uses haskell-src-exts for parsing
modules. Does haskell-src-exts re-use the GHC API or does it run its own
parser? (from a quick glance I'd say the latter case)

Cheers,
  Jochen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20150202/c6353780/attachment.sig>


More information about the Haskell-Cafe mailing list