2 % (c) The GRASP/AQUA Project, Glasgow University, 1994
4 \section[PrelIO]{Top Level I/O}
6 This module collects and exports the more primitive Prelude modules.
85 import PreludePrimIO ( _MVar )
87 import PreludeMonadicIO
89 import PreludeReadTextIO
90 import PreludeWriteTextIO
94 The interact computation supports classical Landin-stream character
95 I/O, as in Haskell 1.2.
99 interact13 :: (String -> String) -> IO ()
100 interact13 f = hGetContents stdin13 >>= (putStr . f)