Avoid using Iterable/Lists when an Iterator will do
Merge pull request #769 from twitter/flatmapfn

Avoid using Iterable/Lists when an Iterator will do