Haskell and XML
Malcolm Wallace, Colin Runciman · ACM SIGPLAN International Conference on Functional Programming (ICFP) · 1999
We present two complementary approaches to writing XML document-processing applications in a functional language.In the first approach, the generic tree structure of XML documents is used as the basis for the design of a library of combinators for generic processing: selection, generation, and transformation of XML trees.The second approach is to use a type-translation framework for treating XML document type definitions (DTDs) as declarations of algebraic data types, and a derivation of the corresponding functions for reading and writing documents as typed values in Haskell.
Cited by 158 works. doi:10.1145/317636.317794
Authors
References
- A new implementation technique for applicative languages
- Recursive Programming Techniques
- Why Functional Programming Matters
- How to replace failure by a list of successes a method for exception handling, backtracking, and pattern matching in lazy functional languages
- Building program optimizers with rewriting strategies
- Monadic parsing in Haskell
- Deterministic, error-correcting combinator parsers
- The design of a pretty-printing library
- Making form follow function: An exercise in functional programming style
- Context patterns in Haskell