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. readEitherSafe :: Read a => String -> Either String a

    safe Safe

    This function provides a more precise error message than readEither from base.

  2. readMay :: Read a => String -> Maybe a

    safe Safe

    No documentation available.

  3. readNote :: (Partial, Read a) => String -> String -> a

    safe Safe

    readNote uses readEitherSafe for the error message.

  4. readVar :: Var a -> IO a

    extra Control.Concurrent.Extra

    Read the current value of the Var.

  5. readVersion :: Partial => String -> Version

    extra Data.Version.Extra

    Read a Version or throw an exception.

    \x -> readVersion (showVersion x) == x
    readVersion "hello" == undefined
    

  6. readFile' :: FilePath -> IO String

    extra Extra

    The readFile' function reads a file and returns the contents of the file as a string. The file is fully read before being returned, as with getContents'.

  7. readFileBinary :: FilePath -> IO String

    extra Extra

    Like readFile, but for binary files.

  8. readFileBinary' :: FilePath -> IO String

    extra Extra

    A strict version of readFileBinary, see readFile' for details.

  9. readFileEncoding :: TextEncoding -> FilePath -> IO String

    extra Extra

    Like readFile, but setting an encoding.

  10. readFileEncoding' :: TextEncoding -> FilePath -> IO String

    extra Extra

    A strict version of readFileEncoding, see readFile' for details.

Page 104 of many | Previous | Next