Implements XPath 3.1 built-in higher order functions. These functions have at least one of following properties: 1) The functions take one or more functions as arguments, 2) The functions return a function as its result.