
14 Apr
2009
14 Apr
'09
3:44 p.m.
Hello Cristiano, Tuesday, April 14, 2009, 7:24:40 PM, you wrote:
unsafePerformIO is not "evil" by itself, it's there for a purpose and, as for anything else in the language, it's better to understand when to use it
we just think that author of original question don't yet have good knowledge of IO monad baiscs and it's what he actually want to know. if the question was how to perform IO action in pure code, unsafePerformIO may be a good answer -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com