=== Iterators ===
Chapel implements iterators using a function-Iterators are declared like syntax, although the semantic behaviour of an iterator differs from that of a function procedure in some important waysChapel. Unlike functions, instead of returning a valueprocesses, Chapel iterators typically return a sequence of values. The We declared the '''yield''' statement, legal only within inside the iterator bodies, it returns a value and temporarily suspends the execution of the code within the iterator.
iterator fibonacci(n): integer {