Comment on Don't unwrap options: There are better ways (2024)parentComments−fjasdfas1ygleam: fn get_user_name() -> Result(String, String) { use user <- result.map(option.to_result(get_user(), "No user")) user }
Comments
gleam: