Hoogle Search

Within LTS Haskell 23.24 (ghc-9.8.4)

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

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

    base Prelude

    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
    

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

    base Text.Read

    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 :: RawIO a => a -> Ptr Word8 -> Word64 -> Int -> IO Int

    base GHC.IO.Device

    Read up to the specified number of bytes starting from a specified offset, returning the number of bytes actually read. This function should only block if there is no data available. If there is not enough data available, then the function should just return the available data. A return value of zero indicates that the end of the data stream (e.g. end of file) has been reached.

  4. read :: MArray s a -> Int -> ST s a

    unordered-containers Data.HashMap.Internal.Array

    No documentation available.

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

    hedgehog Hedgehog.Internal.Prelude

    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
    

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

    base-compat Text.Read.Compat

    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
    

  7. read :: forall (m :: Type -> Type) a r . (Functor m, Read a) => Pipe String a m r

    pipes Pipes.Prelude

    Parse Readable values, only forwarding the value if the parse succeeds

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

    io-streams System.IO.Streams

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

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

    io-streams System.IO.Streams.Core

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

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

Page 1 of many | Next