On 21 March 2013 19:52, Corentin Dupont wrote:
> Hi Joachim,
> that's right thanks, but I was looking for a way to do that from a program.
> ghc-pkg does not seems to expose any library...
http://hackage.haskell.org/packages/archive/Cabal/1.16.0.3/doc/html/Distribution-InstalledPackageInfo.html#t
Hi Joachim,
that's right thanks, but I was looking for a way to do that from a program.
ghc-pkg does not seems to expose any library...
On Wed, Mar 20, 2013 at 11:23 PM, Joachim Breitner wrote:
> Hi,
>
> Am Mittwoch, den 20.03.2013, 00:34 +0100 schrieb Corentin Dupont:
> > Hi Cafe!
> > I'm looki
Hi,
Am Mittwoch, den 20.03.2013, 00:34 +0100 schrieb Corentin Dupont:
> 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
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
__