Is there a nice way in Arrow to merge two Maps?
# arrow
k
Is there a nice way in Arrow to merge two Maps?
r
Hi @kierans777, This is already supported in the std lib via the operator
+
Copy code
val x = mapOf(1 to "1")
val y = mapOf(2 to "2")
val xy = x + y
unless by merge you mean some other kind of combination
k
Thanks @raulraja that's what I was after
👍 1