[Haskell-cafe] Converting IO [XmlTree] to [XmlTree]
Alex Queiroz
asandroq at gmail.com
Tue Apr 14 11:01:57 EDT 2009
Hallo,
On 4/14/09, rodrigo.bonifacio <rodrigo.bonifacio at uol.com.br> wrote:
>
>
> Dear Sirs,
>
> I guess this is a very simple question. How can I convert IO [XmlTree] to
> just a list of XmlTree?
>
The short answer is: You cannot. The longer answer is: Only put
things in the IO monad when you need to interact with the "outside",
i. e., reading, displaying etc.
Cheers,
--
-alex
http://www.ventonegro.org/
More information about the Haskell-Cafe
mailing list