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.

  1. 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.

  2. readDouble :: String -> Maybe Double

    basement Basement.String

    Try to read a Double

  3. readFloatingExact :: String -> ReadFloatingCallback a -> Maybe a

    basement 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
    The code is structured as a simple state machine that:
    • Optionally Consume a - sign
    • Consume number for the integral part
    • Optionally
    • Consume .
    • Consume remaining digits if not already end of string
    • Optionally Consume a e or E follow by an optional - and a number

  4. readInteger :: String -> Maybe Integer

    basement Basement.String

    No documentation available.

  5. readIntegral :: (HasNegation i, IntegralUpsize Word8 i, Additive i, Multiplicative i, IsIntegral i) => String -> Maybe i

    basement Basement.String

    Read an Integer from a String Consume an optional minus sign and many digits until end of string.

  6. readNatural :: String -> Maybe Natural

    basement Basement.String

    Read a Natural from a String Consume many digits until end of string.

  7. readRational :: String -> Maybe Rational

    basement 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.

  8. 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).

  9. readCertificates :: FilePath -> IO [SignedCertificate]

    crypton-x509-store Data.X509.CertificateStore

    No documentation available.

  10. readKeyFile :: FilePath -> IO [PrivKey]

    crypton-x509-store Data.X509.File

    return all the private keys that were successfully read from a file.

Page 133 of many | Previous | Next