insert module:Data.Set -package:sets is:exact

Insert an element in a set. If the set already contains an element equal to the given value, it is replaced with the new value.
Insert a new key and value in the map.
O(log n). Insert an element in a set. If the set already contains an element equal to the given value, it is replaced with the new value.