Pythonic Accumulator Generator Generalized version of accumulator generator mentioned in Paul Graham's blog Presentation Slides: https://docs.google.com/presentation/d/1ruiBABffNb4e27gumoQYkQYwkYLvh4tKs0vzjmHYiOM/edit?usp=sharing