[Haskell-cafe] Converting IO [XmlTree] to [XmlTree]

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Apr 14 11:44:33 EDT 2009

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 at gmail.com

More information about the Haskell-Cafe mailing list