Generators
What’s cool is that many expressions can produce multiple results
- find(“i”, “mississippi”)
- {2,5,8,11}
You can iterate over these results easily
- every j := find(“i”, “mississippi”) do write(j)
- every write(find(“i”, “mississippi”))
- This “generator” expression stores state and can resume to produce new (additional) results