cabal-install-solver
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Solver.Types.OptionalStanza

Synopsis

OptionalStanza

data OptionalStanza Source #

Constructors

TestStanzas 
BenchStanzas 

Instances

Instances details
Structured OptionalStanza Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Methods

structure :: Proxy OptionalStanza -> Structure

structureHash' :: Tagged OptionalStanza MD5

Bounded OptionalStanza Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Enum OptionalStanza Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Generic OptionalStanza Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Associated Types

type Rep OptionalStanza :: Type -> Type #

Show OptionalStanza Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Binary OptionalStanza Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Eq OptionalStanza Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Ord OptionalStanza Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

type Rep OptionalStanza Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

type Rep OptionalStanza = D1 ('MetaData "OptionalStanza" "Distribution.Solver.Types.OptionalStanza" "cabal-install-solver-3.14.1.0-inplace" 'False) (C1 ('MetaCons "TestStanzas" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BenchStanzas" 'PrefixI 'False) (U1 :: Type -> Type))

showStanza :: OptionalStanza -> String Source #

String representation of an OptionalStanza.

enableStanzas :: OptionalStanzaSet -> ComponentRequestedSpec Source #

Convert a list of OptionalStanza into the corresponding Cabal's ComponentRequestedSpec which records what components are enabled.

Set of stanzas

data OptionalStanzaSet Source #

Instances

Instances details
Structured OptionalStanzaSet Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Monoid OptionalStanzaSet Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Semigroup OptionalStanzaSet Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Show OptionalStanzaSet Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Binary OptionalStanzaSet Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Eq OptionalStanzaSet Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Ord OptionalStanzaSet Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Map indexed by stanzas

data OptionalStanzaMap a Source #

Note: this is total map.

Instances

Instances details
Structured a => Structured (OptionalStanzaMap a) Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Methods

structure :: Proxy (OptionalStanzaMap a) -> Structure

structureHash' :: Tagged (OptionalStanzaMap a) MD5

Generic (OptionalStanzaMap a) Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Associated Types

type Rep (OptionalStanzaMap a) :: Type -> Type #

Show a => Show (OptionalStanzaMap a) Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Binary a => Binary (OptionalStanzaMap a) Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Eq a => Eq (OptionalStanzaMap a) Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

Ord a => Ord (OptionalStanzaMap a) Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

type Rep (OptionalStanzaMap a) Source # 
Instance details

Defined in Distribution.Solver.Types.OptionalStanza

type Rep (OptionalStanzaMap a) = D1 ('MetaData "OptionalStanzaMap" "Distribution.Solver.Types.OptionalStanza" "cabal-install-solver-3.14.1.0-inplace" 'False) (C1 ('MetaCons "OptionalStanzaMap" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))