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.
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."]
suffixMap :: MIMETypeData -> Map String StringMissingH Data.MIME.Types A mapping used to expand common suffixes into equivolent, better-parsed versions. For instance, ".tgz" would expand into ".tar.gz".
suffixes :: SizeOpts -> StringMissingH Data.Quantity The suffixes themselves
posixRawSystem :: FilePath -> [String] -> IO ProcessStatusMissingH 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
test_suffix :: String -> String -> Maybe StringMissingH 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.
dropPrefix :: Identifier String -> Identifier Stringcasing 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"
-
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
toFixed :: Int -> Double -> ByteStringdouble-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.
toFixed :: Convertable a b => Int -> a -> bdouble-conversion Data.Double.Conversion.Convertable No documentation available.
toFixed :: Int -> Double -> Textdouble-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.