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.
interact :: (String -> String) -> IO ()numeric-prelude NumericPrelude.Base The interact function takes a function of type String->String as its argument. The entire input from the standard input device is passed to this function as its argument, and the resulting string is output on the standard output device.
interact :: (String -> String) -> IO ()numhask NumHask.Prelude The interact function takes a function of type String->String as its argument. The entire input from the standard input device is passed to this function as its argument, and the resulting string is output on the standard output device.
interact :: ListLikeIO full item => (full -> full) -> IO ()ListLike Data.ListLike Interact with stdin and stdout by using a function to transform input to output. May be lazy. See interact for more.
interact :: ListLikeIO full item => (full -> full) -> IO ()ListLike Data.ListLike.IO Interact with stdin and stdout by using a function to transform input to output. May be lazy. See interact for more.
interact :: MonadIO m => (LText -> LText) -> m ()basic-prelude BasicPrelude No documentation available.
interact :: MonadIO m => (LText -> LText) -> m ()classy-prelude ClassyPrelude Takes a function of type 'LText -> LText' and passes all input on stdin to it, then prints result to stdout Uses lazy IO Uses system locale settings
interact :: (String -> String) -> IO ()ghc-lib-parser GHC.Prelude.Basic The interact function takes a function of type String->String as its argument. The entire input from the standard input device is passed to this function as its argument, and the resulting string is output on the standard output device.
interact :: (String -> String) -> IO ()prelude-compat Prelude2010 The interact function takes a function of type String->String as its argument. The entire input from the standard input device is passed to this function as its argument, and the resulting string is output on the standard output device.
interact :: (String -> String) -> IO ()rebase Rebase.Prelude The interact function takes a function of type String->String as its argument. The entire input from the standard input device is passed to this function as its argument, and the resulting string is output on the standard output device.
interact :: (ByteStream IO () -> ByteStream IO r) -> IO rstreaming-bytestring Streaming.ByteString A synonym for hPut, for compatibility hPutStr :: Handle -> ByteStream IO r -> IO r hPutStr = hPut
- - | Write a ByteStream to stdout putStr :: ByteStream IO r -> IO r putStr = hPut IO.stdout
interact morph = stdout (morph stdin)