A class to wrap a generator, allowing it to have a length (which should be specified). Useful in situations where when we construct the generator, we know the length it's going to have, and would like the user of the generator to access this information the usual way.
A class to wrap a generator, allowing it to have a length (which should be specified).
Useful in situations where when we construct the generator, we know the length it's going to have, and would like the user of the generator to access this information the usual way.

thorwhalen/ut,thorwhalen/ut