Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
PreferAllInstalled :: PackagesPreferenceDefaultcabal-install Distribution.Client.Dependency.Types Always prefer the installed versions over ones that would need to be installed. Secondarily, prefer latest versions (eg the latest installed version or if there are none then the latest source version).
PreferAllLatest :: PackagesPreferenceDefaultcabal-install Distribution.Client.Dependency.Types Always prefer the latest version irrespective of any existing installed version.
- This is the standard policy for upgrade.
PreferAllOldest :: PackagesPreferenceDefaultcabal-install Distribution.Client.Dependency.Types Always prefer the oldest version irrespective of any existing installed version or packages explicitly requested.
- This is enabled by --prefer-oldest.
PreferLatestForSelected :: PackagesPreferenceDefaultcabal-install Distribution.Client.Dependency.Types Prefer the latest version for packages that are explicitly requested but prefers the installed version for any other packages.
- This is the standard policy for install.
-
cabal-install Distribution.Client.DistDirLayout Information about the root directory of the project. It can either be an implicit project root in the current dir if no cabal.project file is found, or an explicit root if either the file is found or the project root directory was specicied.
ProjectRootExplicit :: FilePath -> FilePath -> ProjectRootcabal-install Distribution.Client.DistDirLayout An explicit project root. It contains the absolute project root dir and the relative cabal.project file (or explicit override)
ProjectRootExplicitAbsolute :: FilePath -> FilePath -> ProjectRootcabal-install Distribution.Client.DistDirLayout An explicit, absolute project root dir and an explicit, absolute cabal.project file.
ProjectRootImplicit :: FilePath -> ProjectRootcabal-install Distribution.Client.DistDirLayout An implicit project root. It contains the absolute project root dir.
PackageDotCabalFileNotFound :: FilePath -> CabalInstallExceptioncabal-install Distribution.Client.Errors No documentation available.
PackageNameAmbiguousErr :: [(PackageName, [PackageName])] -> CabalInstallExceptioncabal-install Distribution.Client.Errors No documentation available.