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 Read instance for PortNumber. #145

Merged
merged 1 commit into from
Oct 23, 2015

Conversation

bjornbm
Copy link
Contributor

@bjornbm bjornbm commented Sep 15, 2014

No description provided.

@eborden
Copy link
Collaborator

eborden commented Oct 20, 2015

@kazu-yamamoto What do you think of this one? It has been languishing for a while. I see no reason not to merge it.

@kazu-yamamoto
Copy link
Collaborator

I support this. If we have doctest test cases, it would be much better.

@eborden
Copy link
Collaborator

eborden commented Oct 21, 2015

Indeed @bjornbm do you have interest in writing these? Otherwise I can handle it.

@eborden eborden self-assigned this Oct 21, 2015
@bjornbm
Copy link
Contributor Author

bjornbm commented Oct 22, 2015

I wouldn't say I have an “interest” per se and am pretty swamped so you are welcome to handle it if you have the time. :)

Question: Where would the test go? The instance cannot have haddocks (unless things have changed recently?) and I don't see any doctests at the PortNumber definition, nor for the Show instance. Where should I be looking? Thanks

@kazu-yamamoto
Copy link
Collaborator

I will take this. doctest does not exsit at this moment. So, I will merge this first. Then I will add doctest test suite and add doctest test cases for this.

kazu-yamamoto added a commit that referenced this pull request Oct 23, 2015
Add Read instance for PortNumber.
@kazu-yamamoto kazu-yamamoto merged commit b0021ef into haskell:master Oct 23, 2015
kazu-yamamoto added a commit that referenced this pull request Oct 23, 2015
@kazu-yamamoto
Copy link
Collaborator

Please check two patches above.

@kazu-yamamoto
Copy link
Collaborator

Pinging @eborden and @bjornbm.

@bjornbm
Copy link
Contributor Author

bjornbm commented Oct 31, 2015

Sorry but I'm on travel and don't have a Haskell system available to test this the next two weeks.

@kazu-yamamoto
Copy link
Collaborator

Pinging @eborden and @bjornbm again.

@eborden We need to release a new version ASAP.

@bjornbm bjornbm deleted the portnumber-read branch December 5, 2015 05:46
@eborden
Copy link
Collaborator

eborden commented Jan 14, 2016

This all looks good to me!

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.

3 participants