Rust's .map is cool
This probably isn't revelatory for many people but I think there's an entire class of expressiveness people in high level languages like TS are interested in that Rust just does... better.
72 comments · 92% upvoted · source · other discussions
why use map in this:
and not?:
It's mutating not transforming the value