
14 Apr
2009
14 Apr
'09
3:18 p.m.
Hello rodrigo.bonifacio, Tuesday, April 14, 2009, 6:54:07 PM, you wrote:
I guess this is a very simple question. How can I convert IO [XmlTree] to just a list of XmlTree?
IO [XmlTree] is an action returning [XmlTree]. so to "convert" it to [XmlTree] you just need to execute it in IO monad: value <- action i suggest you to read http://haskell.org/haskellwiki/IO_inside in order to manage IO monad -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com