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 <r...@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: > http://documentup.com/haskell-suite/haskell-names > > 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. > > Roman > > _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe