Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
base Prelude -
base System.IO -
hedgehog Hedgehog.Internal.Prelude -
ghc GHC.Prelude.Basic No documentation available.
readLn :: forall (m :: Type -> Type) a . (MonadIO m, Read a) => Producer' a m ()pipes Pipes.Prelude -
Cabal-syntax Distribution.Compat.Prelude No documentation available.
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] :> ()
-
ghc-internal GHC.Internal.System.IO -
numeric-prelude NumericPrelude -
numeric-prelude NumericPrelude.Base
Page 1 of many | Next