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 Stringrelude Relude.Lifted.File Warning: readFile depends on the system's locale settings and can throw unexpected exceptions.Use readFileBS or readFileLBS instead.
readFile' :: MonadIO m => FilePath -> m Stringrelude Relude.Lifted.File Warning: readFile' depends on the system's locale settings and can throw unexpected exceptions.Use readFileBS or readFileLBS instead.
readIORef :: MonadIO m => IORef a -> m arelude Relude.Lifted.IORef Lifted version of readIORef.
>>> ref <- newIORef 42 >>> readIORef ref 42
reader :: MonadReader r m => (r -> a) -> m arelude Relude.Monad.Reexport Retrieves a function of the current environment.
readEither :: Read a => String -> Either Text arelude Relude.String.Conversion Version of readEither that returns Text in case of the parse error.
>>> readEither @Int "123" Right 123 >>> readEither @Int "aa" Left "Prelude.read: no parse"
readMaybe :: Read a => String -> Maybe arelude Relude.String.Reexport 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
-
relude Relude.String.Reexport equivalent to readsPrec with a precedence of 0.
readCertificateStore :: FilePath -> IO (Maybe CertificateStore)crypton-x509-store Data.X509.CertificateStore Create certificate store by reading certificates from file or directory This function can be used to read multiple certificates from either single file (multiple PEM formatted certificates concanated) or directory (one certificate per file, file names are hashes from certificate).
readCertificates :: FilePath -> IO [SignedCertificate]crypton-x509-store Data.X509.CertificateStore No documentation available.
readKeyFile :: FilePath -> IO [PrivKey]crypton-x509-store Data.X509.File return all the private keys that were successfully read from a file.