Does this type satisfy the requirements of Sequence and IteratorProtocol?

This is a pretty solid compilation of the problems with actually having Sequence model single-pass sequences. At the use site, their behavior is incomprehensible and essentially undefined once a single operation has been performed.

cc @soroush @Ben_Cohen

4 Likes