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

Use cats-effect in core #1185

Open
johnynek opened this issue Mar 24, 2024 · 2 comments
Open

Use cats-effect in core #1185

johnynek opened this issue Mar 24, 2024 · 2 comments

Comments

@johnynek
Copy link
Owner

Cats effect works on all scala platforms now. No reason not to use it in core and we can avoid some of the tagless and also the Par wrapper for parallelism.

@johnynek
Copy link
Owner Author

when this is done should also pass a config class to control the mode we are compiling.

For instance, we don't need to normalize during check, we are just checking that we can infer and that lints pass.

@johnynek
Copy link
Owner Author

this is a bit more complex than "just use cats-effect". In scala-js we can't block, so we can't run unsafeRunSync, so that means we have to fixup test code to handle the async result.

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 a pull request may close this issue.

1 participant