MapSet

new/2

new(enumerable, fun)

Creates a set from an enumerable via the transformation function fun.