Glossary coding Term Page
map, map_err, and_then
Apply functions to the success or error side in a functional style
Core Idea
map, map_err, and_then is Apply functions to the success or error side in a functional style. It usually makes the most sense alongside unwrap, expect.
Why It Matters Here
Mathbong reuses this term across rust posts as shared vocabulary.