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

[WIP] Remove PosixTypes #648

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

toots
Copy link

@toots toots commented Jun 6, 2020

This PR is a follow-up from #624 to remove internal posix types after release of the external posix-types here: https://github.com/savonet/ocaml-posix

I tried to use the external posix types but it gets tricky as they rely on the ctypes API/ABI. It might be possible with a git module but I highly discourage it.

It should also be possible to re-export from external posix-types into the legacy PosixTypes module if we feel like it'll be a good idea.

I will release the external ocaml-posix next.

@yallop
Copy link
Owner

yallop commented Jun 6, 2020

It's good to see the ocaml-posix work progressing.

Removing PosixTypes altogether is quite a drastic step. We discussed deprecating the PosixTypes module in #624; could we do that instead?

@toots
Copy link
Author

toots commented Jun 6, 2020

Yes, agreed, that's why I marked the PR a WIP for now. I wanted to see what the end game looked like before deprecating.

I think I'll port the examples and tests that were removed to the new posix-types.

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