?- dicts_join(x, [r{x:1, y:2}, r{x:1, z:3}, r{x:2,y:4}], L). L = [r{x:1, y:2, z:3}, r{x:2, y:4}].
- Errors
existence_error(key, Key, Dict)
if a dict in Dicts1 or Dicts2 does not contain Key.
?- dicts_join(x, [r{x:1, y:2}, r{x:1, z:3}, r{x:2,y:4}], L). L = [r{x:1, y:2, z:3}, r{x:2, y:4}].
existence_error(key, Key, Dict)
if a dict in Dicts1 or
Dicts2 does not contain Key.