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

Replace usage of System.Environment with Effectful.Environment #3191

Open
paulcadman opened this issue Nov 25, 2024 · 0 comments
Open

Replace usage of System.Environment with Effectful.Environment #3191

paulcadman opened this issue Nov 25, 2024 · 0 comments
Labels
Milestone

Comments

@paulcadman
Copy link
Collaborator

The effectful library provides an effect for system environment variable access, namely Effectful.Environment.

This allows us to define functions using the Environment effect instead of EmbedIO.

We should replace all current usages of System.Environment (which requires IO) with Environment / runEnvironment in the appropriate places.

See:

@paulcadman paulcadman added enhancement New feature or request pending-review refactor and removed enhancement New feature or request pending-review labels Nov 25, 2024
@paulcadman paulcadman added this to the 0.6.10 milestone Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant