A.Enum.map_reduce
You're seeing just the function
map_reduce
, go back to A.Enum module for more information.
Specs
map_reduce(t(val), acc, (val, acc -> {mapped_val, acc})) :: {t(mapped_val), acc} when val: value(), mapped_val: value(), acc: any()
Invokes the given function to each element in the enumerable
to reduce
it to a single element, while keeping an accumulator.
Mirrors Enum.map_reduce/3
with higher performance for Aja structures.