A.Enum.scan
You're seeing just the function
scan
, go back to A.Enum module for more information.
Specs
Applies the given function to each element in the enumerable
,
storing the result in a list and passing it as the accumulator
for the next computation. Uses the first element in the enumerable
as the starting value.
Mirrors Enum.scan/2
with higher performance for Aja structures.
Specs
Applies the given function to each element in the enumerable
,
storing the result in a list and passing it as the accumulator
for the next computation. Uses the given acc
as the starting value.
Mirrors Enum.scan/3
with higher performance for Aja structures.