[Haskell-cafe] Query information about a haskell source file from the command-line

Thiago Padilha tpadilha84 at gmail.com
Fri Nov 29 01:30:39 UTC 2013


Seems promising, thanks

On Thu, Nov 28, 2013 at 3:51 PM, Adam Bergmark <adam at bergmark.nl> wrote:
> Hi Thiago,
>
> you can easily do this with haskell-src-exts + haskell-names, for instance:
>
>
> ([exports],_) <- HN.getInterfaces Haskell2010 extensions [hseModule]
>
> HTH
> - Adam
>
>
>
> On Thu, Nov 28, 2013 at 7:30 PM, Thiago Padilha <tpadilha84 at gmail.com>
> wrote:
>>
>> Is there any command-line tool that outputs information about a source
>> haskell module? I'm looking for something like 'ghc-mod browse'(which
>> displays all symbols exported by an installed module) but that works
>> for plain haskell source files.
>>
>> Any ideas?
>> _______________________________________________
>> 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