Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add map and map_err functions #81

Open
maxveldink opened this issue Nov 3, 2024 · 0 comments
Open

Add map and map_err functions #81

maxveldink opened this issue Nov 3, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@maxveldink
Copy link
Owner

Being able to transform a value inside the result without having to wrap the return value (like the current and_then makes you do) would be useful. We also can add the failure equivalent, since on_error is more like a single run callback instead of continuing a chain and allowing a transform on the error

@maxveldink maxveldink added help wanted Extra attention is needed good first issue Good for newcomers and removed good first issue Good for newcomers labels Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant