Hoogle Search

Within LTS Haskell 22.23 (ghc-9.6.5)

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

  1. read :: (Monad m, Read a) => Stream (Of String) m r -> Stream (Of a) m r

    streaming Streaming.Prelude

    Make a stream of strings into a stream of parsed values, skipping bad cases

    >>> S.sum_ $ S.read $ S.takeWhile (/= "total") S.stdinLn :: IO Int
    1000<Enter>
    2000<Enter>
    total<Enter>
    3000
    

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

    numeric-prelude NumericPrelude

    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 :: Read a => String -> a

    numeric-prelude NumericPrelude.Base

    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
    

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

    protolude Protolude.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
    

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

    basic-prelude BasicPrelude

    Parse Text to a value

  6. read :: (Manifest r e, Index ix, PrimMonad m) => MArray (PrimState m) r ix e -> ix -> m (Maybe e)

    massiv Data.Massiv.Array.Mutable

    O(1) - Lookup an element in the mutable array. Returns Nothing when index is out of bounds.

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

    numhask NumHask.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
    

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

    prelude-compat Prelude2010

    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 :: forall v n m a . (PrimMonad m, MVector v a) => MVector v n (PrimState m) a -> Finite n -> m a

    vector-sized Data.Vector.Generic.Mutable.Sized

    O(1) Yield the element at a given type-safe position using Finite.

  10. read :: forall n m a . PrimMonad m => MVector n (PrimState m) a -> Finite n -> m a

    vector-sized Data.Vector.Mutable.Sized

    O(1) Yield the element at a given type-safe position using Finite.

Page 4 of many | Previous | Next