Hoogle Search

Within LTS Haskell 24.58 (ghc-9.10.3)

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

  1. fixedWidth :: [Int] -> WholeFunc a [a]

    MissingH Data.List.Utils

    A parser designed to process fixed-width input fields. Use it with wholeMap. The Int list passed to this function is the list of the field widths desired from the input. The result is a list of those widths, if possible. If any of the input remains after processing this list, it is added on as the final element in the result list. If the input is less than the sum of the requested widths, then the result list will be short the appropriate number of elements, and its final element may be shorter than requested. Examples:

    wholeMap (fixedWidth [1, 2, 3]) "1234567890"
    --> ["1","23","456","7890"]
    wholeMap (fixedWidth (repeat 2)) "123456789"
    --> ["12","34","56","78","9"]
    wholeMap (fixedWidth []) "123456789"
    --> ["123456789"]
    wholeMap (fixedWidth [5, 3, 6, 1]) "Hello, This is a test."
    --> ["Hello",", T","his is"," ","a test."]
    

  2. suffixMap :: MIMETypeData -> Map String String

    MissingH Data.MIME.Types

    A mapping used to expand common suffixes into equivolent, better-parsed versions. For instance, ".tgz" would expand into ".tar.gz".

  3. suffixes :: SizeOpts -> String

    MissingH Data.Quantity

    The suffixes themselves

  4. posixRawSystem :: FilePath -> [String] -> IO ProcessStatus

    MissingH System.Cmd.Utils

    Invokes the specified command in a subprocess, waiting for the result. Return the result status. Never raises an exception. Only available on POSIX platforms. Like system(3), this command ignores SIGINT and SIGQUIT and blocks SIGCHLD during its execution. Logs as System.Cmd.Utils.posixRawSystem

  5. test_suffix :: String -> String -> Maybe String

    MissingH System.Path.NameManip

    Test a path for a specific suffix and split it off. If the path ends with the suffix, then the result is Just prefix, where prefix is the normalised path without the suffix. Otherwise it's Nothing.

  6. dropPrefix :: Identifier String -> Identifier String

    casing Text.Casing

    Drop the first word from a parsed identifier. Typical usage is between parsing and writing, e.g.: toKebab . dropPrefix . fromAny $ "strHelloWorld" == "hello-world"

  7. module System.X509.Unix

    this module is portable to unix system where there is usually a etcssl/certs with system X509 certificates. the path can be dynamically override using the environment variable defined by envPathOverride in the module, which by default is SYSTEM_CERTIFICATE_PATH

  8. toFixed :: Int -> Double -> ByteString

    double-conversion Data.Double.Conversion.ByteString

    Compute a decimal representation with a fixed number of digits after the decimal point. The last emitted digit is rounded.

  9. toFixed :: Convertable a b => Int -> a -> b

    double-conversion Data.Double.Conversion.Convertable

    No documentation available.

  10. toFixed :: Int -> Double -> Text

    double-conversion Data.Double.Conversion.Text

    Compute a decimal representation with a fixed number of digits after the decimal point. The last emitted digit is rounded.

Page 270 of many | Previous | Next