defmodule Map do def new(enumerable, fun) end
Creates a map from an enumerable via the given transformation function fun.
enumerable
fun
Duplicated keys are removed; the latest one prevails.