We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm simply requesting you to consider adding this function to the Result-module:
recoverWith : (error - value) -> Result error value -> value recoverWith toValue result = case result of Ok value -> value Err error -> toValue error
withDefault
recoverWith << always
elm-community/result-extra
Result.Extra.extract
The text was updated successfully, but these errors were encountered:
Thanks for reporting this! To set expectations:
Finally, please be patient with the core team. They are trying their best with limited resources.
Sorry, something went wrong.
No branches or pull requests
I'm simply requesting you to consider adding this function to the Result-module:
withDefault
is easily derived from this asrecoverWith << always
elm-community/result-extra
implements this function asResult.Extra.extract
, which isn't very descriptive IMOThe text was updated successfully, but these errors were encountered: