Implement StopIteration#result

To be honestly, I don't know where is using the `ValueGenerator` :(