[Haskell-cafe] Extracting exposed modules from an installed library

Corentin Dupont corentin.dupont at gmail.com
Wed Mar 20 00:34:19 CET 2013


Hi Cafe!
I'm looking for how to extract the exposed modules (as a list of strings)
from an installed library, giving the library name.
I can see some structures in Cabal (InstalledPackageInfo) and some
functions in ghc-pkg.hs in GHC, but nothing readily useable...
Thanks,
Corenti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130320/8c8d6a3d/attachment-0001.htm>


More information about the Haskell-Cafe mailing list