| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Options.Harg.Sources.Env
Synopsis
- data EnvSource (f :: Type -> Type) = EnvSource
- newtype EnvSourceVal = EnvSourceVal Environment
Documentation
data EnvSource (f :: Type -> Type) Source #
Source that enables a parser to read options from environment variables.
Constructors
| EnvSource |
Instances
| GetSource EnvSource f Source # | |
| Generic (EnvSource f) Source # | |
| ApplicativeB EnvSource Source # | |
| FunctorB EnvSource Source # | |
Defined in Options.Harg.Sources.Env | |
| TraversableB EnvSource Source # | |
Defined in Options.Harg.Sources.Env Methods btraverse :: Applicative e => (forall (a :: k). f a -> e (g a)) -> EnvSource f -> e (EnvSource g) | |
| type SourceVal EnvSource Source # | |
Defined in Options.Harg.Sources.Env | |
| type Rep (EnvSource f) Source # | |
newtype EnvSourceVal Source #
Value of EnvSource, which is an association list between environment
variable names and values (strings).
Constructors
| EnvSourceVal Environment |
Instances
| (FunctorB a, TraversableB a) => RunSource EnvSourceVal a Source # | |
Defined in Options.Harg.Sources.Env Methods runSource :: forall (f :: Type -> Type). Applicative f => EnvSourceVal -> a (Compose Opt f) -> [Either SourceRunError (a (Compose SourceRunResult f))] Source # | |