still random number problem

Keith Wansbrough Keith.Wansbrough@cl.cam.ac.uk
Thu, 25 Jul 2002 09:15:25 +0100


> What is wrong with it? 

Take a look at the Wiki, which has some explanation of the IO monad (which you're using here, with the "do" notation):

http://haskell.org/wiki/wiki?UsingIo
http://haskell.org/wiki/wiki?ThatAnnoyingIoType
http://haskell.org/wiki/wiki?UsingMonads

Hope this helps!

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