Skip to content

Remove withSocketsDo from examples#596

Merged
kazu-yamamoto merged 1 commit into
haskell:masterfrom
eyeinsky:master
Jan 6, 2025
Merged

Remove withSocketsDo from examples#596
kazu-yamamoto merged 1 commit into
haskell:masterfrom
eyeinsky:master

Conversation

@eyeinsky

@eyeinsky eyeinsky commented Jan 4, 2025

Copy link
Copy Markdown
Contributor

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

eyeinsky commented Jan 4, 2025

Copy link
Copy Markdown
Contributor Author

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

@kazu-yamamoto

Copy link
Copy Markdown
Collaborator

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

@kazu-yamamoto kazu-yamamoto left a comment

Copy link
Copy Markdown
Collaborator

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!

Comment thread Network/Socket.hs
sendBufTo,

-- * Initialisation on Windows
withSocketsDo,

Copy link
Copy Markdown
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
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