Hi Bridger,

> is even possible; e.g. map{ "key": [1,2,3,4,5] }
Well that works fine for me, so yes.

For your other examples, I think the answer is that map:merge with map{"duplicates":"combine"} always generates value sequences on duplicate keys.
So, maybe, generate the array you want, then put it in the map

let $a:=(1 to 5)!array{.}=>array:join()
return map:entry("key",$a)

/Andy

On Wed, 3 Aug 2022 at 09:37, Martin Honnen <martin.honnen@gmx.de> wrote:

Am 03.08.2022 um 04:27 schrieb Bridger Dyson-Smith:
>
>
> I would appreciate some help understanding how I might go about having
> a multi-valued array as the value of a map key, or if this is even
> possible; e.g.
>
> map{ "key": [1,2,3,4,5] }


map { 'key' : array { 1 to 5 } }


Or have I missed the point?