a readFile problem

Keith Wansbrough Keith.Wansbrough@cl.cam.ac.uk
Mon, 02 Jun 2003 15:38:04 +0100


> However one of the commands is: read filename
> i.e. read a file and display it. 
> I do not succeed in implementing this. 

http://www.haskell.org/hawiki/ThatAnnoyingIoType
http://www.haskell.org/hawiki/UsingIo

are your friends.

--KW 8-)
-- 
Keith Wansbrough <kw217@cl.cam.ac.uk>
http://www.cl.cam.ac.uk/users/kw217/
University of Cambridge Computer Laboratory.