insert module:Data.Set -package:nonempty-containers is:exact -package:set-monad package:containers

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.