出于好奇,为什么在inject/reduce方法中累加器被称为memo?这个命名背后是否有一些上下文或历史?它实际上是指“memo”还是memo代表了其他含义?
http://ruby-doc.org/core-2.0/Enumerable.html#method-i-inject
http://ruby-doc.org/core-2.0/Enumerable.html#method-i-reduce
http://ruby-doc.org/core-2.0/Enumerable.html#method-i-inject
http://ruby-doc.org/core-2.0/Enumerable.html#method-i-reduce