Implementing `Flatmap` in Rust

Not too long ago I happened to watch @jonhoo’s Crust of Rust stream on iterators. He implemented the standard library function flatten and along the way explained bits and pieces of Rust’s trait system. In the stream, he recommends implementing flat_map a… Read more

Similar