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

    amazonka-core Amazonka.Prelude

    The readLn function combines getLine and readIO.

  4. readLn :: Read a => IO a

    hedgehog Hedgehog.Internal.Prelude

    The readLn function combines getLine and readIO.

  5. readLn :: Read a => IO a

    ghc GHC.Prelude.Basic

    The readLn function combines getLine and readIO.

  6. readLn :: (MonadIO m, Read a) => Producer' a m ()

    pipes Pipes.Prelude

    read values from stdin, ignoring failed parses

  7. readLn :: Read a => IO a

    Cabal-syntax Distribution.Compat.Prelude

    The readLn function combines getLine and readIO.

  8. readLn :: Read a => IO a

    ghc-lib-parser GHC.Prelude.Basic

    The readLn function combines getLine and readIO.

  9. readLn :: (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] :> ()
    

  10. readLn :: Read a => IO a

    numeric-prelude NumericPrelude

    The readLn function combines getLine and readIO.

Page 1 of many | Next