Look through the mailing list archives/wiki/haskell tutorials. But basically you can't, except by combining it with another action, as in:
suppose 'baz :: Int -> IO Bool', then: foo = do bar <- baz 5 if bar then ... else ... for instance... -- Hal Daume III | [EMAIL PROTECTED] "Arrest this man, he talks in maths." | www.isi.edu/~hdaume On Wed, 11 Jun 2003, Filip wrote: > I have a question :) > What should I do if I have something like "IO Bool" and I need "Bool" ?? > And the same with other IO +something. > > Thank You :) > _______________________________________________ > Haskell mailing list > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/haskell > _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell