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

Clean-up executionLoop in Proxy.hs #419

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Conversation

geo2a
Copy link
Contributor

@geo2a geo2a commented Dec 12, 2023

This PR attempts to slightly disentangle the executionLoop computation in Proxy.hs:

  • introduce StateT to handle mutable state;
  • and ReaderT to keep track of immutable arguments.

These changes may be considered subjective, but I'd argue that we need to make them to pave the path to a larger refactoring of Proxy.hs.

@geo2a geo2a force-pushed the georgy/proxy-cleanup branch from e63d4bb to a313290 Compare December 12, 2023 13:45
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.

1 participant