hxt
how to mix applicative functors and arrows
i read on Andrew Birkett’s blog Applicative arrows for XML &&& return to pure that we could mix arrows and applicative functors.[详细]
2023-04-08 03:42 分类:问答How to pass parameters to HXT arrows and how to use -<<
my question is the following. I have this xml file to parse : <DATAS LANG=\"en\"> <SCENARIO ID=\"19864\">[详细]
2023-04-07 09:54 分类:问答Calling an IO Monad inside an Arrow
Perhaps I\'m going about this the wrong way, but I\'m using HXT to read in some vertex data that I\'d like to use in an array in HOp开发者_如何学编程enGL. Vertex arrays need to be a Ptr which is creat[详细]
2023-04-01 01:47 分类:问答HXT: Surprising behavior when reading and writing HTML to String in pure code
I want to read HTML from a String, process it and return the changed document as a String using HXT. As this operation does not require IO, I would rather execute the Arrow with runLA than with runX.[详细]
2023-03-30 21:05 分类:问答Getting Data from a Simple XML
I am trying to extract some data from an XML input with 6 lines, using HXT. I want to keep HXT, too, because of the Curl integration and because I have other XML files with thousands of lines, later.[详细]
2023-03-16 21:55 分类:问答xml-tree parser (Haskell) for graph-library
I\'m writing a library for working with graphs. The primary task - parsing xml-tree. The tree looks like[详细]
2023-02-23 08:02 分类:问答Read status from failed Relax NG validation in HXT
Validating an XML file in Haskell works fine with HXT and Relax NG, apart from one thing: how can I get the result?[详细]
2023-02-22 12:49 分类:问答Adding state to HXT parsing
I\'m trying to write an arrow that will generate numbered elements from an XML parse with HXT.It seems like it should be done with a state arrow, like the State monad, but all the examples I can find[详细]
2023-02-06 17:10 分类:问答Collapse arrow to list
I\'m having some problems with HXT, though I suspect it\'s just something I\'m missing about arrows. I have an XML structure like[详细]
2023-01-21 08:47 分类:问答HXT -- what is "deep"?
I\'m putting in a lot of time t开发者_运维问答rying to figure out how to use HXT. I keep coming against examples using deep. What does deep do?[详细]
2023-01-19 14:58 分类:问答