Hoogle Search

Within LTS Haskell 24.42 (ghc-9.10.3)

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

  1. readFile :: MonadIO m => FilePath -> m LByteString

    rio RIO.ByteString.Lazy

    Lifted readFile

  2. readLitChar :: ReadS Char

    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")]
    

  3. readMaybe :: Read a => String -> Maybe a

    rio 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
    

  4. readProcess :: MonadIO m => ProcessConfig stdin stdoutIgnored stderrIgnored -> m (ExitCode, ByteString, ByteString)

    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.

  5. readProcessStderr :: MonadIO m => ProcessConfig stdin stdout stderrIgnored -> m (ExitCode, ByteString)

    rio RIO.Process

    Same as readProcess, but only read the stderr of the process. Original settings for stdout remain.

  6. readProcessStderr_ :: MonadIO m => ProcessConfig stdin stdout stderrIgnored -> m ByteString

    rio RIO.Process

    Same as readProcessStderr, but instead of returning the ExitCode, checks it with checkExitCode. Exceptions thrown by this function will include stderr.

  7. readProcessStdout :: MonadIO m => ProcessConfig stdin stdoutIgnored stderr -> m (ExitCode, ByteString)

    rio RIO.Process

    Same as readProcess, but only read the stdout of the process. Original settings for stderr remain.

  8. readProcessStdout_ :: MonadIO m => ProcessConfig stdin stdoutIgnored stderr -> m ByteString

    rio RIO.Process

    Same as readProcessStdout, but instead of returning the ExitCode, checks it with checkExitCode. Exceptions thrown by this function will include stdout.

  9. readProcess_ :: MonadIO m => ProcessConfig stdin stdoutIgnored stderrIgnored -> m (ByteString, ByteString)

    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.

  10. readPTime :: ParseTime t => Bool -> TimeLocale -> String -> ReadP t

    rio RIO.Time

    Parse a time value given a format string. See parseTimeM for details.

Page 122 of many | Previous | Next