[Haskell] IO question

Tomasz Zielonka t.zielonka at students.mimuw.edu.pl
Fri Jun 11 07:39:39 EDT 2004

On Fri, Jun 11, 2004 at 01:23:11PM +0200, Tom Hofte wrote:
> I want to have a function that unpack an IO.
> I should have the type: IO a -> a.
> Is this possible?

There is unsafePerformIO, but before you use it, think - do you
really, really want to use it and you really, really know what the
consequences can be? Perhaps you could tell us what it is that you think
you need unsafePerformIO for? Maybe it can be done without it?

Best regards,

.signature: Too many levels of symbolic links

More information about the Haskell mailing list