Skip to content

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

@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 mmhat force-pushed the 62-expose-processconfig branch from f1a0906 to 264756d Compare February 26, 2023 14:06
@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