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

Port IOApp.Simple to CE2 #1721

Closed
kubukoz opened this issue Feb 21, 2021 · 4 comments
Closed

Port IOApp.Simple to CE2 #1721

kubukoz opened this issue Feb 21, 2021 · 4 comments

Comments

@kubukoz
Copy link
Member

kubukoz commented Feb 21, 2021

In series/3.x, a simpler interface for IOApp is provided, for the users who don't need args or exit codes:

object Main extends IOApp.Simple:
  def run: IO[Unit] = IO.println("hello")

I think it could be backported to CE2 for the poor souls who won't be able to migrate for a while for reasons.

@djspiewak
Copy link
Member

Great idea!

@alexandrustana
Copy link
Contributor

I could try and solve this one

@djspiewak
Copy link
Member

Go for it!

@kubukoz
Copy link
Member Author

kubukoz commented Mar 8, 2021

Closed in #1759, no idea why github didn't figure that one out.

@kubukoz kubukoz closed this as completed Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants