Availability:built-in
put_dict(+Key,
+DictIn, +Value, -DictOut)DictOut is a new dict created by replacing or adding
Key-Value to DictIn. This predicate is
normally accessed using the functional notation. Below is an example:
?- A = point{x:1, y:2}.put(x, 3).
A = point{x:3, y:2}.