Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data DefaultStrSource (f :: Type -> Type) = DefaultStrSource
- data DefaultStrSourceVal = DefaultStrSourceVal
- runDefaultStrSource :: forall a f. (FunctorB a, Applicative f) => a (Compose Opt f) -> a (Compose SourceRunResult f)
Documentation
data DefaultStrSource (f :: Type -> Type) Source #
Source that enables a parser to read options from defaults that are provided as strings (unparsed).
Instances
data DefaultStrSourceVal Source #
Value of DefaultStrSource
is a dummy value, as the default string option can
be found inside the Opt
(_optDefaultStr
).
Instances
FunctorB a => RunSource DefaultStrSourceVal a Source # | |
Defined in Options.Harg.Sources.DefaultStr runSource :: Applicative f => DefaultStrSourceVal -> a (Compose Opt f) -> [a (Compose SourceRunResult f)] Source # |
runDefaultStrSource :: forall a f. (FunctorB a, Applicative f) => a (Compose Opt f) -> a (Compose SourceRunResult f) Source #