Hoogle Search

Within LTS Haskell 20.10 (ghc-9.2.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

    hedgehog Hedgehog.Internal.Prelude

    The readLn function combines getLine and readIO.

  4. readLn :: Read a => IO a

    Cabal Distribution.Compat.Prelude.Internal

    The readLn function combines getLine and readIO.

  5. readLn :: Read a => IO a

    ghc GHC.Prelude

    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 :: (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

    ghc-lib-parser GHC.Prelude

    The readLn function combines getLine and readIO.

  9. readLn :: (MonadIO m, Read a) => m a

    basic-prelude BasicPrelude

    The readLn function combines getLine and readIO.

  10. readLn :: Read a => IO a

    base-prelude BasePrelude

    The readLn function combines getLine and readIO.

Page 1 of many | Next