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.
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).
readKeyFileFromMemory :: ByteString -> [PrivKey]crypton-x509-store Data.X509.Memory No documentation available.
readSignedObjectFromMemory :: (ASN1Object a, Eq a, Show a) => ByteString -> [SignedExact a]crypton-x509-store Data.X509.Memory No documentation available.
readMVar :: StrictMVar a -> IO adistributed-process Control.Distributed.Process.Internal.StrictMVar No documentation available.
readTQueue :: TQueue a -> STM adistributed-process Control.Distributed.Process.Internal.WeakTQueue Read the next value from the TQueue.
readFileDeserialise :: Serialise a => FilePath -> IO aserialise 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.
readFileDeserialise :: Serialise a => FilePath -> IO aserialise 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.
readFile :: FilePath -> (Stream (Of String) IO () -> IO a) -> IO astreaming 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"
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] :> ()
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.