Hoogle Search

Within LTS Haskell 24.66 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. hiddenflags :: [Flag RawOpts]

    hledger Hledger.Cli.CliOptions

    No documentation available.

  2. hiddenflagsformainmode :: [Flag RawOpts]

    hledger Hledger.Cli.CliOptions

    Common legacy flags that are accepted but not shown in --help, when running the main mode.

  3. registerWidthsFromOpts :: CliOpts -> (Int, Maybe Int)

    hledger Hledger.Cli.CliOptions

    Get the width in characters to use for the register command's console output, and also the description column width if specified (following the main width, comma-separated). The widths will be as follows: no --width flag - overall width is the available width (or terminal width, or 80); description width is unspecified (auto) --width W - overall width is W, description width is auto --width W,D - overall width is W, description width is D Will raise a parse error for a malformed --width argument.

  4. width_ :: CliOpts -> Maybe String

    hledger Hledger.Cli.CliOptions

    the --width value provided, if any

  5. width__ :: HasCliOpts c => Lens' c (Maybe String)

    hledger Hledger.Cli.CliOptions

    No documentation available.

  6. tidyColumnLabels :: [Text]

    hledger Hledger.Cli.Commands.Balance

    No documentation available.

  7. fmtWidth :: FieldFormat -> Maybe Int

    hledger Hledger.Cli.Script

    Total width of the field.

  8. isValid :: FilePath -> Bool

    hledger Hledger.Cli.Script

    Is a FilePath valid, i.e. could you create a file like it? This function checks for invalid names, and invalid characters, but does not check if length limits are exceeded, as these are typically filesystem dependent.

    isValid "" == False
    isValid "\0" == False
    Posix:   isValid "/random_ path:*" == True
    Posix:   isValid x == not (null x)
    Windows: isValid "c:\\test" == True
    Windows: isValid "c:\\test:of_test" == False
    Windows: isValid "test*" == False
    Windows: isValid "c:\\test\\nul" == False
    Windows: isValid "c:\\test\\prn.txt" == False
    Windows: isValid "c:\\nul\\file" == False
    Windows: isValid "\\\\" == False
    Windows: isValid "\\\\\\foo" == False
    Windows: isValid "\\\\?\\D:file" == False
    Windows: isValid "foo\tbar" == False
    Windows: isValid "nul .txt" == False
    Windows: isValid " nul.txt" == True
    

  9. makeValid :: FilePath -> FilePath

    hledger Hledger.Cli.Script

    Take a FilePath and make it valid; does not change already valid FILEPATHs.

    isValid (makeValid x)
    isValid x ==> makeValid x == x
    makeValid "" == "_"
    makeValid "file\0name" == "file_name"
    Windows: makeValid "c:\\already\\/valid" == "c:\\already\\/valid"
    Windows: makeValid "c:\\test:of_test" == "c:\\test_of_test"
    Windows: makeValid "test*" == "test_"
    Windows: makeValid "c:\\test\\nul" == "c:\\test\\nul_"
    Windows: makeValid "c:\\test\\prn.txt" == "c:\\test\\prn_.txt"
    Windows: makeValid "c:\\test/prn.txt" == "c:\\test/prn_.txt"
    Windows: makeValid "c:\\nul\\file" == "c:\\nul_\\file"
    Windows: makeValid "\\\\\\foo" == "\\\\drive"
    Windows: makeValid "\\\\?\\D:file" == "\\\\?\\D:\\file"
    Windows: makeValid "nul .txt" == "nul _.txt"
    

  10. Hybrid :: RootMethod

    hmatrix-gsl Numeric.GSL.Root

    No documentation available.

Page 1369 of many | Previous | Next