Returns an iterator which yields a value indefinitely.
fn repeat<T>(val: T) -> Repeat<T> where T: Copy,
The value to be repeated.