Are you you talking about iterators that return a possibly empty list of items? Just have it return an array reference!
In reply to Re^7: An iterator for (not "iterating") a recursive data structure.
by ikegami
in thread An iterator for (not "iterating") a recursive data structure.
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |