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.
-
base Prelude -
base System.IO -
hedgehog Hedgehog.Internal.Prelude -
Cabal Distribution.Compat.Prelude.Internal -
ghc GHC.Prelude readLn :: (MonadIO m, Read a) => Producer' a m ()pipes Pipes.Prelude 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] :> ()
-
ghc-lib-parser GHC.Prelude readLn :: (MonadIO m, Read a) => m abasic-prelude BasicPrelude -
base-prelude BasePrelude
Page 1 of many | Next