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

@IO.main #3

Open
armanbilge opened this issue Feb 24, 2023 · 3 comments
Open

@IO.main #3

armanbilge opened this issue Feb 24, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@armanbilge
Copy link
Member

This will be a huge win if we can land it.

@armanbilge armanbilge added the enhancement New feature or request label Feb 24, 2023
@keynmol
Copy link

keynmol commented Feb 24, 2023

On that note:

  1. main has to be a class - so cannot be provided as an extension method in a separate project
  2. it will infect the entire IO companion object

so we can just take the code I put in the issue, bootstrap cats-effect-main with @ioMain name for now and pull it into toolkit.

@armanbilge
Copy link
Member Author

armanbilge commented Feb 24, 2023

awesome! any volunteers?

https://github.com/typelevel/cats-effect-main

@TonioGela
Copy link
Member

2. it will infect the _entire_ `IO` companion object

WDYM exactly @keynmol?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants