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.
PackageStanzasPreference :: PackageName -> [OptionalStanza] -> PackagePreferencecabal-install Distribution.Client.Dependency If we would prefer to enable these optional stanzas (i.e. test suites and/or benchmarks)
PackageVersionPreference :: PackageName -> VersionRange -> PackagePreferencecabal-install Distribution.Client.Dependency A suggested constraint on the version number.
data
PackagesPreferenceDefault cabal-install Distribution.Client.Dependency Global policy for all packages to say if we prefer package versions that are already installed locally or if we just prefer the latest available.
PreferAllInstalled :: PackagesPreferenceDefaultcabal-install Distribution.Client.Dependency 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 Always prefer the latest version irrespective of any existing installed version.
- This is the standard policy for upgrade.
PreferAllOldest :: PackagesPreferenceDefaultcabal-install Distribution.Client.Dependency 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 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.Dependency A type to represent the unfolding of an expensive long running calculation that may fail. We may get intermediate steps before the final result which may be used to indicate progress and/or logging messages.
data
PackagesPreferenceDefault cabal-install Distribution.Client.Dependency.Types Global policy for all packages to say if we prefer package versions that are already installed locally or if we just prefer the latest available.
-
cabal-install Distribution.Client.Dependency.Types All the solvers that can be selected.