"yield" inside loop bodies too