To implement this without indexing, you can explicitly using the iteration facility (i.e. ``start``, ``next``, and ``done``).