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.

  1. read :: (PrimMonad m, Indexed sh, Storable a) => Array m sh a -> Index sh -> m a

    comfort-array Data.Array.Comfort.Storable.Mutable.Unchecked

    No documentation available.

  2. read :: Storable e => Vector s e -> Int -> ST s e

    storablevector Data.StorableVector.ST.Lazy

    Control.Monad.ST.runST (do arr <- new_ 10; Monad.zipWithM_ (write arr) [9,8..0] ['a'..]; read arr 3)
    

  3. read :: Storable e => Vector s e -> Int -> ST s e

    storablevector Data.StorableVector.ST.Strict

    Control.Monad.ST.runST (do arr <- new_ 10; Monad.zipWithM_ (write arr) [9,8..0] ['a'..]; read arr 3)
    

  4. read :: SSL -> Int -> IO ByteString

    HsOpenSSL 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

  5. read :: (PrimMonad prim, PrimType ty) => MutableBlock ty (PrimState prim) -> Offset ty -> prim ty

    basement Basement.Block.Mutable

    read a cell in a mutable array. If the index is out of bounds, an error is raised.

  6. read :: PrimMonad prim => MArray ty (PrimState prim) -> Offset ty -> prim ty

    basement Basement.BoxedArray

    read a cell in a mutable array. If the index is out of bounds, an error is raised.

  7. read :: (PrimMonad prim, PrimType ty) => MUArray ty (PrimState prim) -> Offset ty -> prim ty

    basement Basement.UArray.Mutable

    read a cell in a mutable array. If the index is out of bounds, an error is raised.

  8. read :: Read a => String -> a

    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
    

  9. read :: ByteString -> Entries FormatError

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

  10. read :: Read a => String -> a

    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
    

Page 3 of many | Previous | Next