| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Stackage.GhcPkg
Description
General commands related to ghc-pkg.
Documentation
Arguments
| :: 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 |