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.

  1. readSignedObject :: (ASN1Object a, Eq a, Show a) => FilePath -> IO [SignedExact a]

    crypton-x509-store Data.X509.File

    return all the signed objects in a file. (only one type at a time).

  2. readKeyFileFromMemory :: ByteString -> [PrivKey]

    crypton-x509-store Data.X509.Memory

    No documentation available.

  3. readSignedObjectFromMemory :: (ASN1Object a, Eq a, Show a) => ByteString -> [SignedExact a]

    crypton-x509-store Data.X509.Memory

    No documentation available.

  4. readMVar :: StrictMVar a -> IO a

    distributed-process Control.Distributed.Process.Internal.StrictMVar

    No documentation available.

  5. readTQueue :: TQueue a -> STM a

    distributed-process Control.Distributed.Process.Internal.WeakTQueue

    Read the next value from the TQueue.

  6. readFileDeserialise :: Serialise a => FilePath -> IO a

    serialise Codec.Serialise

    Read the specified file (internally, by reading a ByteString) and attempt to decode it into a Haskell value using deserialise (the type of which is determined by the choice of the result type). Throws: DeserialiseFailure if the file fails to deserialise properly.

  7. readFileDeserialise :: Serialise a => FilePath -> IO a

    serialise Codec.Serialise.IO

    Read the specified file (internally, by reading a ByteString) and attempt to decode it into a Haskell value using deserialise (the type of which is determined by the choice of the result type). Throws: DeserialiseFailure if the file fails to deserialise properly.

  8. readFile :: FilePath -> (Stream (Of String) IO () -> IO a) -> IO a

    streaming Streaming.Prelude

    Read the lines of a file, using a function of the type: 'Stream (Of String) IO () -> IO a' to turn the stream into a value of type 'IO a'.

    >>> S.writeFile "lines.txt" $ S.take 2 S.stdinLn
    hello<Enter>
    world<Enter>
    
    >>> S.readFile "lines.txt" S.print
    "hello"
    "world"
    

  9. readLn :: forall (m :: Type -> Type) a . (MonadIO m, Read a) => Stream (Of a) m ()

    streaming Streaming.Prelude

    Read values from stdin, ignoring failed parses.

    >>> :set -XTypeApplications
    
    >>> S.sum $ S.take 2 (S.readLn @IO @Int)
    10<Enter>
    12<Enter>
    22 :> ()
    
    >>> S.toList $ S.take 2 (S.readLn @IO @Int)
    10<Enter>
    1@#$%^&*\<Enter>
    12<Enter>
    [10,12] :> ()
    

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

Page 132 of many | Previous | Next