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@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@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe