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. readProcessWithExitCode :: FilePath -> [String] -> String -> IO (ExitCode, String, String)

    io-streams System.IO.Streams.Process

    readProcessWithExitCode is like readProcess but with two differences:

    • it returns the ExitCode of the process, and does not throw any exception if the code is not ExitSuccess.
    • it reads and returns the output from process' standard error handle, rather than the process inheriting the standard error handle.
    On Unix systems, see waitForProcess for the meaning of exit codes when the process died as the result of a signal.

  2. readFile :: FilePath -> IO String

    strict System.IO.Strict

    The readFile function reads a file and returns the contents of the file as a string. The file is read strictly, as with getContents.

  3. readFromPathPiece :: Read s => Text -> Maybe s

    path-pieces Web.PathPieces

    A function for helping generate free PathPiece instances for enumeration data types that have derived Read and Show instances. Intended to be used like this:

    data MyData = Foo | Bar | Baz
    deriving (Read,Show)
    instance PathPiece MyData where
    fromPathPiece = readFromPathPiece
    toPathPiece = showToPathPiece
    
    Since 0.2.1.

  4. readWriteMode :: TransactionMode -> !ReadWriteMode

    postgresql-simple Database.PostgreSQL.Simple.Transaction

    No documentation available.

  5. readSettingsFile :: Maybe FilePath -> String -> IO (FilePath, Maybe String)

    hlint Language.Haskell.HLint

    Given a directory (or Nothing to imply getHLintDataDir), and a module name (e.g. HLint.Default), find the settings file associated with it, returning the name of the file, and (optionally) the contents. This function looks for all settings files starting with HLint. in the directory argument, and all other files relative to the current directory.

  6. readFileBinary :: MonadIO m => FilePath -> m ByteString

    rio RIO

    Same as readFile, but generalized to MonadIO

  7. readFileUtf8 :: MonadIO m => FilePath -> m Text

    rio RIO

    Read a file in UTF8 encoding, throwing an exception on invalid character encoding. This function will use OS-specific line ending handling.

  8. readSomeRef :: MonadIO m => SomeRef a -> m a

    rio RIO

    Read from a SomeRef

  9. readURef :: (PrimMonad m, Unbox a) => URef (PrimState m) a -> m a

    rio RIO

    Read the value in a URef

  10. readFile :: MonadIO m => FilePath -> m ByteString

    rio RIO.ByteString

    Lifted readFile

Page 121 of many | Previous | Next