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

Expose ProcessConfig and friends from the internal module #63

Merged
merged 2 commits into from
Feb 26, 2023

Conversation

mmhat
Copy link
Contributor

@mmhat mmhat commented Feb 21, 2023

I basically moved all the stuff concerned with ProcessConfig (e.g. setters, smart constructors, ...) to the internal module and re-export it in the public API. This structure appeared simpler to me than having some of the bindings in the internal module and some in the public one: There are a bunch of top-level bindings (like shell, proc) needed in the instances of the datatypes and unless we go with orphan instances in System.Process.Typed those need to live in the internal module.

Fixes #62

package.yaml Outdated Show resolved Hide resolved
@tomjaguarpaw
Copy link
Collaborator

These three commits seems logically independent to me, so can you please make them in three separate PRs? Having them in the same PR makes it harder to review.

@mmhat
Copy link
Contributor Author

mmhat commented Feb 26, 2023

@tomjaguarpaw I moved the unrelated changes to #64 and #65.

@tomjaguarpaw
Copy link
Collaborator

Thanks.

@tomjaguarpaw
Copy link
Collaborator

Not sure why the MacOS tests failed. I guess it's a problem with the tests, not this PR.

@tomjaguarpaw tomjaguarpaw merged commit 0ade852 into fpco:master Feb 26, 2023
@tomjaguarpaw
Copy link
Collaborator

Thanks for this, and thanks for being responsive to requests!

@mmhat
Copy link
Contributor Author

mmhat commented Feb 26, 2023

@tomjaguarpaw Thank you for the quick review!

@mmhat mmhat deleted the 62-expose-processconfig branch February 26, 2023 16:14
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.

Expose structure of ProcessConfig from internal module.
2 participants