This entry is part 10 of 16 in the series Introduction to ErlangAccumulators In several cases, as with the mlists:length/1 example, the non-tail recursive function can be easily turned to a tail recursive one by using the notion of accumulator. An accumulator is an extra argument introduced to a function in order to aggregate the [...]
Trending Articles
More Pages to Explore .....