Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. read :: InputStream a -> IO (Maybe a)

    io-streams System.IO.Streams.Internal

    Reads one value from an InputStream. Returns either a value wrapped in a Just, or Nothing if the end of the stream is reached.

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

    rio RIO.Partial

    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
    

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

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

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

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

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

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

    No documentation available.

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

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

    No documentation available.

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

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

Page 2 of many | Previous | Next