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

remove Property.ofThrowing #357

Merged
1 commit merged into from
Sep 13, 2021
Merged

Conversation

TysonMN
Copy link
Member

@TysonMN TysonMN commented Sep 12, 2021

I don't think Property.ofThrowing needs to exist. Its purpose was to convert an exception into a property with a failed outcome. That conversion how happens in both Property.map and Property.bind, so I can't think of any reason why this function needs to exist.

In the process of removing this, I improved/simplified a Property.SelectMany method by replacing a call to bind with a call to map.

@ghost
Copy link

ghost commented Sep 13, 2021

👍

@ghost ghost added this to the 0.11.0 milestone Sep 13, 2021
@ghost ghost merged commit 5376b5b into hedgehogqa:master Sep 13, 2021
@TysonMN TysonMN deleted the remove_ofThrowing branch September 14, 2021 01:06
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant