How to cite this paper

Fuller, James. “A catalog of Functional Programming idioms in XQuery 3.1.” Presented at Balisage: The Markup Conference 2016, Washington, DC, August 2 - 5, 2016. In Proceedings of Balisage: The Markup Conference 2016. Balisage Series on Markup Technologies, vol. 17 (2016). https://doi.org/10.4242/BalisageVol17.Fuller01.

Balisage: The Markup Conference 2016
August 2 - 5, 2016

Balisage Paper: A catalog of Functional Programming idioms in XQuery 3.1

James Fuller

MarkLogic

James Fuller works in engineering at MarkLogic on the world's leading enterprise NoSQL database. James is a passionate XML stack enthusiast writing articles and giving presentations on all things XML in addition to contributing to the W3C XML Processing Working Group.

Copyright © 2016 by the author. Used with permission.

Abstract

A wild rummage through the treasure chests of the highest towers and deepest vaults of Functional Programming revealing functional idioms in XQuery 3.1 form - memoisation, partitioning, currying, numerical methods, algebraic data types, grammar based parsing, constraint programming and more. Each idiom is presented as an answer to a common programming problem provided as a handy reference catalog. The exploration will end with a few examples of how easily functional idioms compose up to solve more complex problems.