文件名称:xml-lens:xml-conduit的镜头和遍历
文件大小:9KB
文件格式:ZIP
更新时间:2024-05-29 23:21:24
Haskell
xml镜头 镜头和遍历 。 例子 > doc <- Text.XML. readFile def " examples/books.xml " > doc ^.. root . named " books " ... named " book " . attributeIs " category " " Textbooks " ... named " title " . text [ " Learn You a Haskell for Great Good! " , " Programming in Haskell " , " Real World Haskell " ] > lengthOf ?? doc $ root . named " books " ... named " book " 7 > doc ^? root . named " books " ... attributeI
【文件预览】:
xml-lens-master
----Setup.hs(46B)
----.gitattributes(483B)
----.github()
--------workflows()
----examples()
--------books.xml(1KB)
----LICENSE(1KB)
----Text()
--------XML()
----xml-lens.cabal(1KB)
----README.md(2KB)
----cabal.project(12B)
----.gitignore(3KB)
----CHANGELOG.md(66B)