harg-0.4.2.0: Haskell program configuration using higher kinded data

Safe HaskellNone
LanguageHaskell2010

Options.Harg.Cmdline

Synopsis

Documentation

mkOptparseParser Source #

Arguments

:: (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 from a list of source results and an option parser. The source results are folded using <|> and then used as a single result.