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.
83 import PreludePrimIO ( _MVar )
85 import PreludeMonadicIO
87 import PreludeReadTextIO
88 import PreludeWriteTextIO
92 The interact computation supports classical Landin-stream character
93 I/O, as in Haskell 1.2.
97 interact13 :: (String -> String) -> IO ()
98 interact13 f = hGetContents stdin13 >>= (putStr . f)