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

Use result #130

Closed
wants to merge 1 commit into from
Closed

Use result #130

wants to merge 1 commit into from

Conversation

hannesm
Copy link
Member

@hannesm hannesm commented Jul 29, 2019

this fixes #113 (and is on top of #129) -- though it changes the API (Location.of_order and Port.of_string now use result, thus reverse dependencies will have to be adapted).

Copy link

@cfcs cfcs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I say LGTM :D

@hannesm
Copy link
Member Author

hannesm commented Aug 16, 2019

breaks API, but IMHO towards better (using pre-defined result type instead of custom ones, making it more consistent)

@hannesm
Copy link
Member Author

hannesm commented Oct 30, 2019

since #134 as well breaks API, I plan to merge this together with #134 in a release cycle (bumping the major version). please raise your voice if you oppose this.

@hannesm
Copy link
Member Author

hannesm commented Nov 1, 2019

integrated into #134

@hannesm hannesm closed this Nov 1, 2019
@hannesm hannesm deleted the use-result branch November 1, 2019 12:49
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.

Use result instead of the polymorphic equivalent
2 participants