Hoogle Search
Within LTS Haskell 22.22 (ghc-9.6.5)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
read :: (PrimMonad m, Indexed sh, Storable a) => Array m sh a -> Index sh -> m acomfort-array Data.Array.Comfort.Storable.Mutable.Unchecked No documentation available.
read :: Storable e => Vector s e -> Int -> ST s estorablevector Data.StorableVector.ST.Lazy Control.Monad.ST.runST (do arr <- new_ 10; Monad.zipWithM_ (write arr) [9,8..0] ['a'..]; read arr 3)
read :: Storable e => Vector s e -> Int -> ST s estorablevector Data.StorableVector.ST.Strict Control.Monad.ST.runST (do arr <- new_ 10; Monad.zipWithM_ (write arr) [9,8..0] ['a'..]; read arr 3)
read :: SSL -> Int -> IO ByteStringHsOpenSSL OpenSSL.Session Try to read the given number of bytes from an SSL connection. On EOF an empty ByteString is returned. If the connection dies without a graceful SSL shutdown, an exception is raised. NOTE: The returned bytestring could be shorter than the size requested, see: https://www.openssl.org/docs/man3.0/man3/SSL_read.html
read :: (PrimMonad prim, PrimType ty) => MutableBlock ty (PrimState prim) -> Offset ty -> prim tybasement Basement.Block.Mutable read a cell in a mutable array. If the index is out of bounds, an error is raised.
read :: PrimMonad prim => MArray ty (PrimState prim) -> Offset ty -> prim tybasement Basement.BoxedArray read a cell in a mutable array. If the index is out of bounds, an error is raised.
read :: (PrimMonad prim, PrimType ty) => MUArray ty (PrimState prim) -> Offset ty -> prim tybasement Basement.UArray.Mutable read a cell in a mutable array. If the index is out of bounds, an error is raised.
-
relude Relude.Unsafe The read function reads input from a string, which must be completely consumed by the input process. read fails with an error if the parse is unsuccessful, and it is therefore discouraged from being used in real applications. Use readMaybe or readEither for safe alternatives.
>>> read "123" :: Int 123
>>> read "hello" :: Int *** Exception: Prelude.read: no parse
read :: ByteString -> Entries FormatErrortar Codec.Archive.Tar Convert a data stream in the tar file format into an internal data structure. Decoding errors are reported by the Fail constructor of the Entries type.
- The conversion is done lazily.
-
ghc-lib-parser GHC.Prelude.Basic The read function reads input from a string, which must be completely consumed by the input process. read fails with an error if the parse is unsuccessful, and it is therefore discouraged from being used in real applications. Use readMaybe or readEither for safe alternatives.
>>> read "123" :: Int 123
>>> read "hello" :: Int *** Exception: Prelude.read: no parse