| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Hasql.OptparseApplicative
Contents
Synopsis
- poolSettings :: (String -> String) -> Parser (IO Pool)
- connectionSettings :: (String -> String) -> Parser Settings
- attoparsedOption :: Parser a -> Mod OptionFields a -> Parser a
Documentation
poolSettings :: (String -> String) -> Parser (IO Pool) Source #
Given a function, which updates the long names, produces a parser of
the Hasql.Pool. operation.acquire
You can use this function to prefix the name or you can just specify id,
if you don't want it changed.
Helpers
attoparsedOption :: Parser a -> Mod OptionFields a -> Parser a Source #