harg-0.3.0.0: Haskell program configuration using higher kinded data

Safe HaskellNone
LanguageHaskell2010

Options.Harg.Sources.DefaultStr

Synopsis

Documentation

data DefaultStrSource (f :: Type -> Type) Source #

Source that enables a parser to read options from defaults that are provided as strings (unparsed).

Constructors

DefaultStrSource 
Instances
GetSource DefaultStrSource f Source # 
Instance details

Defined in Options.Harg.Sources.DefaultStr

Associated Types

type SourceVal DefaultStrSource :: Type Source #

Generic (DefaultStrSource f) Source # 
Instance details

Defined in Options.Harg.Sources.DefaultStr

Associated Types

type Rep (DefaultStrSource f) :: Type -> Type #

ProductB DefaultStrSource Source # 
Instance details

Defined in Options.Harg.Sources.DefaultStr

Methods

bprod :: DefaultStrSource f -> DefaultStrSource g -> DefaultStrSource (Product f g) #

buniq :: (forall (a :: k). f a) -> DefaultStrSource f #

TraversableB DefaultStrSource Source # 
Instance details

Defined in Options.Harg.Sources.DefaultStr

Methods

btraverse :: Applicative t => (forall (a :: k). f a -> t (g a)) -> DefaultStrSource f -> t (DefaultStrSource g) #

FunctorB DefaultStrSource Source # 
Instance details

Defined in Options.Harg.Sources.DefaultStr

Methods

bmap :: (forall (a :: k). f a -> g a) -> DefaultStrSource f -> DefaultStrSource g #

type SourceVal DefaultStrSource Source # 
Instance details

Defined in Options.Harg.Sources.DefaultStr

type Rep (DefaultStrSource f) Source # 
Instance details

Defined in Options.Harg.Sources.DefaultStr

type Rep (DefaultStrSource f) = D1 (MetaData "DefaultStrSource" "Options.Harg.Sources.DefaultStr" "harg-0.3.0.0-inplace" False) (C1 (MetaCons "DefaultStrSource" PrefixI False) (U1 :: Type -> Type))

data DefaultStrSourceVal Source #

Value of DefaultStrSource is a dummy value, as the default string option can be found inside the Opt (_optDefaultStr).

Constructors

DefaultStrSourceVal