> 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 <[EMAIL PROTECTED]> http://www.cl.cam.ac.uk/users/kw217/ University of Cambridge Computer Laboratory. _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell