Macro iter
macro iter($($t:tt)*) {
...
}
Creates a new closure that returns an iterator where each iteration steps the given
generator to the next yield statement.
Similar to iter::from_fn, but allows arbitrary control flow.
Examples
let it = iter!;
let v: = it.collect;
assert_eq!;