Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
rFormat :: Reader (m :: Type -> Type) -> StorageFormathledger-lib Hledger.Read.Common No documentation available.
mformat :: HasInputOpts c => Lens' c (Maybe StorageFormat)hledger-lib Hledger.Read.InputOptions No documentation available.
mformat_ :: InputOpts -> Maybe StorageFormathledger-lib Hledger.Read.InputOptions a file/storage format to try, unless overridden by a filename prefix. Nothing means try all.
dataFileFor :: FilePath -> Maybe FilePathhledger-lib Hledger.Read.RulesReader Given a rules file path, what would be the corresponding data file ? (Remove a .rules extension.)
rulesFileFor :: FilePath -> FilePathhledger-lib Hledger.Read.RulesReader Given a csv file path, what would be the corresponding rules file ? (Add a .rules extension.)
-
hledger-lib Hledger.Reports.ReportTypes A function to transform the result of the subreport
ansiFormatError :: String -> Stringhledger-lib Hledger.Utils.IO Apply standard ANSI SGR formatting (red, bold) suitable for console error text.
ansiFormatWarning :: String -> Stringhledger-lib Hledger.Utils.IO Apply standard ANSI SGR formatting (yellow, bold) suitable for console warning text.
quoteForCommandLine :: String -> Stringhledger-lib Hledger.Utils.String Try to single- and backslash-quote a string as needed to make it usable as an argument on a (sh/bash) shell command line. At least, well enough to handle common currency symbols, like $. Probably broken in many ways.
>>> quoteForCommandLine "a" "a" >>> quoteForCommandLine "\"" "'\"'" >>> quoteForCommandLine "$" "'\\$'"
encodedFormBody :: [(ByteString, ByteString)] -> OutputStream Builder -> IO ()http-streams Network.Http.Client Specify name/value pairs to be sent to the server in the manner used by web browsers when submitting a form via a POST request. Parameters will be URL encoded per RFC 2396 and combined into a single string which will be sent as the body of your request. You use this partially applied:
let nvs = [("name","Kermit"), ("type","frog")] ("role","stagehand")] sendRequest c q (encodedFormBody nvs)Note that it's going to be up to you to call setContentType with a value of "application/x-www-form-urlencoded" when building the Request object; the postForm convenience (which uses this encodedFormBody function) takes care of this for you, obviously.