Documenting for-loop-generator