Thanks this helped. But adding a list with sets as argument in the example would make it complete.
let ... in recursiveMerge [ { a = "x"; c = "m"; list = [1]; } { a = "y"; b = "z"; list = [2]; } ]