Package net.sf.saxon.functions.hof

The package com.saxonica.functions.hof contains code to support higher-order functions.

Higher-order functions are supported in XSLT 3.0, XPath 3.1, and XQuery 3.1, in Saxon-PE and Saxon-EE only.

The package includes code to support both the core facilities of dynamic creation and invocation of function objects, and also specific higher-order functions defined in the Functions and Operators library such as fn:filter, fn:for-each and fn:fold-left.