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

Introducing bitlib-rs for Rust and Cairo

This article builds off my previous article, Intro to Cairo Graphics in Rust. In that, I briefly described how to install Rust and the Cairo graphics library and set up a Rust project using the cairo-rs bindings. With that article, and a bit of dedicated ... (more…)

Read more »