darcs patch: FIX #1463 (implement 'ghc-pkg find-module')
Claus Reinke
claus.reinke at talk21.com
Fri Nov 9 11:43:02 EST 2007
- the ticket asks for a module2package lookup in ghc-pkg
(this would be useful to have in cabal, as well)
- we can now ask which packages expose a module we need,
eg, when preparing a cabal file or when getting errors
after package reorganisations:
$ ./ghc-pkg-inplace find-module Var
c:/fptools/ghc/driver/package.conf.inplace:
(ghc-6.9.20071106)
$ ./ghc-pkg-inplace find-module Data.Sequence
c:/fptools/ghc/driver/package.conf.inplace:
containers-0.1
- implemented as a minor variation on listPackages
(as usual, it would be useful if one could combine
multiple queries into one)
claus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FIX1463-ghc-pkg-find-module.patch
Type: application/octet-stream
Size: 45095 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/cvs-ghc/attachments/20071109/f7e1a862/FIX1463-ghc-pkg-find-module-0001.obj
More information about the Cvs-ghc
mailing list