harg-0.5.0.0: Haskell program configuration using higher kinded data
Safe HaskellNone
LanguageHaskell2010

Options.Harg.Cmdline

Synopsis

Documentation

mkOptparseParser Source #

Arguments

:: forall f a. (Applicative f, TraversableB a, ApplicativeB 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.