Moving stuff around
doc
Slightly nicer
Initialize array
Walking a list is safer
Do away with the second index
Do away with the first index
More descriptive name
More descriptive name
Now we dont need the remark
Using reduce
Make it oneliner
Map removes a foreach too
No longer need to initialize
Let D handle the initialization
Now we can be less descriptive
Preparing for inline function
Preparing for inline function
Map-reduce - one powerful language