Hoogle Search
Within LTS Haskell 24.50 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readFile :: FilePath -> IO (Either Text YiString)yi-rope Yi.Rope Reads file into the rope, also returning the ConverterName that was used for decoding. You should resupply this to writeFile if you're aiming to preserve the original encoding. If we fail to guess the encoding used, error message is given instead. It is up to the user to handle exceptions not directly related to character decoding.
readDouble :: String -> Maybe Doublebasement Basement.String Try to read a Double
readFloatingExact :: String -> ReadFloatingCallback a -> Maybe abasement Basement.String Read an Floating like number of the form:
Call a function with:- A boolean representing if the number is negative
- The digits part represented as a single natural number (123.456 is represented as 123456)
- The number of digits in the fractional part (e.g. 123.456 => 3)
- The exponent if any
readInteger :: String -> Maybe Integerbasement Basement.String No documentation available.
-
basement Basement.String Read an Integer from a String Consume an optional minus sign and many digits until end of string.
readNatural :: String -> Maybe Naturalbasement Basement.String Read a Natural from a String Consume many digits until end of string.
readRational :: String -> Maybe Rationalbasement Basement.String Try to read a floating number as a Rational Note that for safety reason, only exponent between -10000 and 10000 is allowed as otherwise DoS/OOM is very likely. if you don't want this behavior, switching to a scientific type (not provided yet) that represent the exponent separately is the advised solution.
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.