Function core::iter::iterateExperimental
[-]
[+]
[src]
pub fn iterate<'a, T: Clone>(seed: T, f: |T| -> T) -> Iterate<'a, T>
Create a new iterator that produces an infinite sequence of
repeated applications of the given function f.