Remember that functions will not be called unless the calls within do not fail, so this example can be shortened to:Another simple generator is the , which generates lists of integers; will do exactly what it seems to.