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. readLn :: Read a => IO a

    base Prelude

    The readLn function combines getLine and readIO.

  2. readLn :: Read a => IO a

    base System.IO

    The readLn function combines getLine and readIO.

  3. readLn :: Read a => IO a

    hedgehog Hedgehog.Internal.Prelude

    The readLn function combines getLine and readIO.

  4. readLn :: forall (m :: Type -> Type) a . (MonadIO m, Read a) => Producer' a m ()

    pipes Pipes.Prelude

    read values from stdin, ignoring failed parses

  5. readLn :: Read a => IO a

    Cabal-syntax Distribution.Compat.Prelude

    The readLn function combines getLine and readIO.

  6. readLn :: Read a => IO a

    ghc-lib-parser GHC.Prelude.Basic

    The readLn function combines getLine and readIO.

  7. readLn :: forall (m :: Type -> Type) a . (MonadIO m, Read a) => Stream (Of a) m ()

    streaming Streaming.Prelude

    Read values from stdin, ignoring failed parses.

    >>> :set -XTypeApplications
    
    >>> S.sum $ S.take 2 (S.readLn @IO @Int)
    10<Enter>
    12<Enter>
    22 :> ()
    
    >>> S.toList $ S.take 2 (S.readLn @IO @Int)
    10<Enter>
    1@#$%^&*\<Enter>
    12<Enter>
    [10,12] :> ()
    

  8. readLn :: Read a => IO a

    numeric-prelude NumericPrelude

    The readLn function combines getLine and readIO.

  9. readLn :: Read a => IO a

    numeric-prelude NumericPrelude.Base

    The readLn function combines getLine and readIO.

  10. readLn :: Read a => IO a

    numhask NumHask.Prelude

    The readLn function combines getLine and readIO.

Page 1 of many | Next