HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulecabal-install-solver-3.12.1.0Haskell2010

Distribution.Solver.Modular.Flag

  • 10 types
  • 7 values
datadata FInfo
#

Flag info. Default value, whether the flag is manual, and whether the flag is weak. Manual flags can only be set explicitly. Weak flags are typically deferred by the solver.

Instances2Eq, Show
  • Eq FInfoDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Modular.Flag
  • Show FInfoDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Modular.Flag
datadata FN qpn
#

Flag name. Consists of a package instance and the flag identifier itself.

Constructors

Instances4Functor, Eq, Ord, Show
  • Functor FNDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Modular.Flag
  • Eq qpn => Eq (FN qpn)Defined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Modular.Flag
  • Ord qpn => Ord (FN qpn)Defined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Modular.Flag
  • Show qpn => Show (FN qpn)Defined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Modular.Flag
typetype QFN = FN QPN
#

Qualified flag name.

typetype QSN = SN QPN
#

Qualified stanza name.

datadata SN qpn
#

Stanza name. Paired with a package name, much like a flag.

Constructors

Instances4Functor, Eq, Ord, Show
  • Functor SNDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Modular.Flag
  • Eq qpn => Eq (SN qpn)Defined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Modular.Flag
  • Ord qpn => Ord (SN qpn)Defined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Modular.Flag
  • Show qpn => Show (SN qpn)Defined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Modular.Flag
newtypenewtype WeakOrTrivial
#

A property of flag and stanza choices that determines whether the choice should be deferred in the solving process.

A choice is called weak if we do want to defer it. This is the case for flags that should be implied by what's currently installed on the system, as opposed to flags that are used to explicitly enable or disable some functionality.

A choice is called trivial if it clearly does not matter. The special case of triviality we actually consider is if there are no new dependencies introduced by the choice.

Instances3Eq, Ord, Show
  • Eq WeakOrTrivialDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Modular.Flag
  • Ord WeakOrTrivialDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Modular.Flag
  • Show WeakOrTrivialDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Modular.Flag
datadata FlagValue
#

Value shown for a flag in a solver log message. The message can refer to only the true choice, only the false choice, or both choices.

Instances2Eq, Show
  • Eq FlagValueDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Modular.Flag
  • Show FlagValueDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Modular.Flag