News for hackers. Stuff that matters.
Re:Announcing Rust 1.0 Beta by tikue_ on Friday April 03, 2015 @07:41PM (#9319235)
I wish `and_then` were named `flat_map` so badly.
Re:Announcing Rust 1.0 Beta by Manishearth on Saturday April 04, 2015 @01:30AM (#9320021)
We have `flat_map` for iterators. (`and_then` works for Options, which are basically nullables)

You can convert an Option to a zero-cost iterator and then use `flat_map` though.