IO Bool -> Bool

Keith Wansbrough Keith.Wansbrough@cl.cam.ac.uk
Thu, 14 Aug 2003 10:45:24 +0100


> <P><BR>hai guys</P>is it possible to convert IO Bool to Bool?

No, it's not... and for good reason!  See the discussion at

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

and

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

In general, the HaWiki has answers to lots of "newbie" questions like 
this - you might find it useful to peruse (although you should 
certainly continue to ask questions here too - we're a pretty friendly 
bunch!).

Best wishes,

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