Tom Hofte writes (to the Haskell mailing list):

I want to have a function that unpack an IO.
I should have the type: IO a -> a.
Is this possible?

Tomasz Zielonka replies:

There is unsafePerformIO, but before you use it, think [..]

See also <http://www.haskell.org/hawiki/ThatAnnoyingIoType>.


Cheers,

Ronny Wichers Schreur
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to