From 88a8cb9fd2eeb42b24a44ed6b2ad9124e6d596a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gr=C3=BCn?= Date: Thu, 26 Oct 2023 15:24:35 +0200 Subject: [PATCH] 469: array:of-members, map:of-pairs: Signatures, Examples --- .../xpath-functions-40/src/function-catalog.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specifications/xpath-functions-40/src/function-catalog.xml b/specifications/xpath-functions-40/src/function-catalog.xml index 91fbb4130..17eee826a 100644 --- a/specifications/xpath-functions-40/src/function-catalog.xml +++ b/specifications/xpath-functions-40/src/function-catalog.xml @@ -19564,8 +19564,8 @@ return fold-left($MAPS, map { }, - @@ -19585,7 +19585,7 @@ return fold-left($MAPS, map { },

The function map:of-pairs returns a map that is formed by combining key-value pair maps supplied in the - $key-value-pairs + $input argument.

The optional $combine argument can be used to define how @@ -19593,7 +19593,7 @@ return fold-left($MAPS, map { }, of the corresponding values, retaining their order in the input sequence.

The effect of the function is equivalent to the expression:

- map:build($key-value-pairs, fn($kvp) { $kvp?key }, fn($kvp) { $kvp?value }, $combine) + map:pairs($week) => map:build(fn { ?key }, fn { ?value }, $combine)