| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Hasql.OptparseApplicative
Synopsis
- poolConfig :: (String -> String) -> Parser Config
- poolSettings :: (String -> String) -> Parser [Setting]
- connectionSettings :: (String -> String) -> Parser [Setting]
Documentation
Arguments
| :: (String -> String) | Option long name modifier. You can use this function to prefix the name or you can just specify |
| -> Parser Config |
Given a function, which updates the long names, produces a parser of a compiled config.
Arguments
| :: (String -> String) | Option long name modifier. You can use this function to prefix the name or you can just specify |
| -> Parser [Setting] |
Given a function, which updates the long names, produces a parser of
a list of settings, which you can extend upon or override, and compile to Config on your own.