MapSet.new/2

defmodule MapSet do
  def new(enumerable, fun)
end

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