Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- mkOptparseParser :: forall f a. (Applicative f, TraversableB a, ProductB a) => [a (Compose Maybe f)] -> a (Compose Opt f) -> Parser (a f)
- mkParser :: Compose Maybe f a -> Compose Opt f a -> Compose Parser f a
- toOptionParser :: Compose Maybe f a -> Compose Opt f a -> Compose Parser f a
- toFlagParser :: Compose Maybe f a -> Compose Opt f a -> f a -> Compose Parser f a
- toArgumentParser :: Compose Maybe f a -> Compose Opt f a -> Compose Parser f a
Documentation
:: (Applicative f, TraversableB a, ProductB a) | |
=> [a (Compose Maybe f)] | Source results |
-> a (Compose Opt f) | Target configuration options |
-> Parser (a f) |
Create a Parser
for a single option, using the accumulated
source results.