Write StopIteration#result