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

Cristiano Paris frodo at theshire.org
Tue Apr 14 11:08:02 EDT 2009


On Tue, Apr 14, 2009 at 5:01 PM, Luke Palmer <lrpalmer at gmail.com> wrote:
> ...
> This is very important: you cannot.

I'd answer "You shouldn't, unless you know what you are doing". In
some cases, not only is unsafePerformIO desirable but also necessary
(I'm thinking of Debug.Trace).

Cristiano


More information about the Haskell-Cafe mailing list