<- Back | Index | Forward ->

Iterators

The toolkit provides two container types, streams and sequences. A container is traversed via a single forward iterator.

Could encapsulate this behaviour in a new Python class,

Instead, convert streams and sequences to Python lists: