[Haskell-cafe] ANNOUNCE: haskell-names-0.1

Evan Laforge qdunkan at gmail.com
Tue Jun 25 20:06:56 CEST 2013


Yeah, no one seems to know about it, which is surprising to me.  I've
been using it for over 2 years and I'd never want to go back.  I guess
most people don't mind maintaining import lists, my guess is that few
people work on large projects, so they never see a long import list.

On Mon, Jun 24, 2013 at 11:58 PM, Erik Hesselink <hesselink at gmail.com> wrote:
> Tom Lokhorst and myself worked on a tool to generate missing imports,
> both qualified and unqualified, at the Odessa hackathon. We created a
> working proof of concept [0]. I wasn't aware of fix-imports.
>
> Erik
>
> [0] https://github.com/haskell-suite/halberd
>
> On Tue, Jun 25, 2013 at 6:30 AM, Evan Laforge <qdunkan at gmail.com> wrote:
>> 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:
>>> 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 at haskell.org
>>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list