A flag can represent a feature to be included, or a way of linking a target against its dependencies, or in fact whatever you can think of.
Constructors
Instances8Eq, Data, Show, Generic, NFData, Binary, …
Eq PackageFlagDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.FlagData PackageFlagDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.FlagShow PackageFlagDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.FlagGeneric PackageFlagDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.FlagNFData PackageFlagDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.FlagBinary PackageFlagDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.FlagStructured PackageFlagDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.Flagtype Rep PackageFlag = D1 ('MetaDataDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.Flag"PackageFlag"
"Distribution.Types.Flag"
"Cabal-syntax-3.12.1.0-3adc"
'False) (C1 ('MetaCons"MkPackageFlag"
'PrefixI 'True) ((S1 ('MetaSel ('Just"flagName"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FlagName) :*: S1 ('MetaSel ('Just"flagDescription"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :*: (S1 ('MetaSel ('Just"flagDefault"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"flagManual"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))