Availability:built-in
?- select_dict(P{x:0, y:Y}, point{x:0, y:1, z:2}, R). P = point, Y = 1, R = _G1705{z:2}.
See also :</2 to ignore Rest and >:</2 for a symmetric partial unification of two dicts.
?- select_dict(P{x:0, y:Y}, point{x:0, y:1, z:2}, R). P = point, Y = 1, R = _G1705{z:2}.
See also :</2 to ignore Rest and >:</2 for a symmetric partial unification of two dicts.