[Haskell-cafe] ANNOUNCE: haskell-names-0.1
qdunkan at gmail.com
Tue Jun 25 06:30:39 CEST 2013
This is neat, it sounds like I could use this with fix-imports to find
only modules that export the right function name, or even to add
non-qualified imports. But since it's already 95% good enough for my
use case, I probably won't get around to it any time soon.
On Thu, Jun 20, 2013 at 8:13 AM, Roman Cheplyaka <roma at ro-che.info> wrote:
> I am pleased to announce the first public release of haskell-names, a
> name resolution library for haskell-src-exts AST.
> Namely, it can do the following:
> * for a module, compute its interface, i.e. the set of entities
> exported by the module, together with their original names.
> * for each name in the module, figure out what it refers to — whether
> it's bound locally (say, by a where clause) or globally (and then
> give its origin).
> Thanks to haskell-packages, this library is fully integrated with Cabal,
> so that you can easily generate name interfaces for any Cabalized package.
> See more details in the README:
> This library is based on the code written by Lennart Augustsson in 2010.
> Little of that code survived, but nevertheless it's been a great help.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe