Hoogle Search
Within LTS Haskell 22.18 (ghc-9.6.4)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
interact :: (String -> String) -> IO ()ghc 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 :: MonadIO m => (ByteString -> ByteString) -> m ()rio RIO.ByteString Lifted interact
interact :: MonadIO m => (LByteString -> LByteString) -> m ()rio RIO.ByteString.Lazy Lifted interact
interact :: (String -> String) -> IO ()strict System.IO.Strict 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 :: Storable a => ChunkSize -> (Vector a -> Vector a) -> IO ()storablevector Data.StorableVector.Lazy No documentation available.
interact :: (Size size, Storable a) => (Vector size a -> Vector size a) -> IO ()storablevector Data.StorableVector.Lazy.Typed No documentation available.
interact :: (String -> String) -> IO ()Cabal-syntax Distribution.Compat.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 :: (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 :: 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 ()numeric-prelude NumericPrelude 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.