Safe Haskell | None |
---|---|
Language | Haskell2010 |
General commands related to ghc-pkg.
Documentation
:: Maybe FilePath | database location, Nothing if using global DB |
-> FilePath | documentation root |
-> (ByteString -> IO ()) | logging |
-> Map PackageName Version | packages and versions to be installed |
-> (PackageIdentifier -> IO ()) | callback to be used when unregistering a package |
-> IO (Map PackageName Version) | packages remaining in the database after cleanup |