performUnsafeIO

matt hellige matt@immute.net
Thu, 11 Oct 2001 13:53:56 -0500


[Sebastian Schulz <seb@shamoha.org>]
> hi.
> 
> I need to extract an IO String to String.
> Remembering some  function like 'performUnsafeIO :: IO a -> a', I searched the hugs libs, 
> but without a match.
> 
> Does a function like this still exists? Or how can I transform IO a to a?
> 

it's called "unsafePerformIO", but i'm forced to ask: are you really
sure it's what you want? ;)

what are you trying to do? 

matt

-- 
matt hellige                  matt@immute.net
http://matt.immute.net