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 a bunch of duplication #200

Merged
merged 2 commits into from
Jun 6, 2016
Merged

Conversation

enolan
Copy link
Contributor

@enolan enolan commented Jun 6, 2016

Both the String and ByteString variants of recv and send now call recvBuf and sendBuf rather than duplicating the lower level logic.

@eborden
Copy link
Collaborator

eborden commented Jun 6, 2016

@kazu-yamamoto This PR was migrated from #192 to improve clarity in that work. This looks like a positive simplification to me.

@enolan enolan mentioned this pull request Jun 6, 2016
@eborden eborden mentioned this pull request Jun 6, 2016
@kazu-yamamoto kazu-yamamoto merged commit 7132c2e into haskell:master Jun 6, 2016
@kazu-yamamoto
Copy link
Collaborator

LGTM. I have merged this pull request.

@enolan Thank you for your contribution!

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