Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readFile :: MonadIO m => FilePath -> m ByteStringrio RIO.ByteString Lifted readFile
readFile :: MonadIO m => FilePath -> m LByteStringrio RIO.ByteString.Lazy Lifted readFile
-
rio RIO.Char Read a string representation of a character, using Haskell source-language escape conventions, and convert it to the character that it encodes. For example:
readLitChar "\\nHello" = [('\n', "Hello")] readMaybe :: Read a => String -> Maybe ario RIO.Prelude Parse a string using the Read instance. Succeeds if there is exactly one valid result.
>>> readMaybe "123" :: Maybe Int Just 123
>>> readMaybe "hello" :: Maybe Int Nothing
-
rio RIO.Process Run a process, capture its standard output and error as a ByteString, wait for it to complete, and then return its exit code, output, and error. Note that any previously used setStdout or setStderr will be overridden.
-
rio RIO.Process Same as readProcess, but only read the stderr of the process. Original settings for stdout remain.
readProcessStderr_ :: MonadIO m => ProcessConfig stdin stdout stderrIgnored -> m ByteStringrio RIO.Process Same as readProcessStderr, but instead of returning the ExitCode, checks it with checkExitCode. Exceptions thrown by this function will include stderr.
-
rio RIO.Process Same as readProcess, but only read the stdout of the process. Original settings for stderr remain.
readProcessStdout_ :: MonadIO m => ProcessConfig stdin stdoutIgnored stderr -> m ByteStringrio RIO.Process Same as readProcessStdout, but instead of returning the ExitCode, checks it with checkExitCode. Exceptions thrown by this function will include stdout.
-
rio RIO.Process Same as readProcess, but instead of returning the ExitCode, checks it with checkExitCode. Exceptions thrown by this function will include stdout and stderr.