23 ms·
Iterators with a capital I are not functional. Functions like ‘map’, and ‘fold’, and ‘zip’ are; but Iterator is not the term to describe such function.
by theCodeStig 6y ago
Iterators with a capital I are not functional.
Functions like ‘map’, and ‘fold’, and ‘zip’ are; but Iterator is not the term to describe such function.
- j1elo 6y agoTruth be told, me writing Iterators with a capital I comes from when I finally had this "click in my mind" moment where I got to see clearly how map & friends work, by using Rust [1] to solve a bunch of Advent of Code 2019 problems [1]: https://doc.rust-lang.org/std/iter/trait.Iterator.html https://doc.rust-lang.org/std/iter/trait.Iterator.html