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 withSocketsDo from examples #596

Merged
merged 1 commit into from
Jan 6, 2025
Merged

Conversation

eyeinsky
Copy link
Contributor

@eyeinsky eyeinsky commented Jan 4, 2025

PR set to draft because of question: should the function be removed entirely? As I understand it, the version where it's required (2.6.0.2) has it anyway, and the newer versions don't need it.

- remove it from the examples
- move documentation to the bottom of the module as most people won't need it
@eyeinsky
Copy link
Contributor Author

eyeinsky commented Jan 4, 2025

(Also moved its documentation to the bottom, as most people won't need it.)

@kazu-yamamoto
Copy link
Collaborator

@kazu-yamamoto kazu-yamamoto self-requested a review January 6, 2025 01:15
@kazu-yamamoto kazu-yamamoto self-assigned this Jan 6, 2025
Copy link
Collaborator

@kazu-yamamoto kazu-yamamoto left a comment

Choose a reason for hiding this comment

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

Yes, it's time to remove it from the examples!

@@ -401,6 +398,10 @@ import Network.Socket.Buffer hiding (
recvBufMsg,
sendBufMsg,
sendBufTo,

-- * Initialisation on Windows
withSocketsDo,
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a wrong position. It should be in front of where. I will fix this by myself.

kazu-yamamoto added a commit to kazu-yamamoto/network that referenced this pull request Jan 6, 2025
@kazu-yamamoto kazu-yamamoto merged commit e6278fa into haskell:master Jan 6, 2025
10 checks passed
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.

2 participants