Last active
February 3, 2026 20:25
-
-
Save dacr/09496362f99005d60bf12da25175cdfc to your computer and use it in GitHub Desktop.
ZIO simplified unsafeRun brought by unsafeRun / published by https://github.com/dacr/code-examples-manager #02f79443-ac5f-461c-a3f5-fcc7902103b5/4e1e61bbe4adb11efa3203dfd598bfa5fabb9490
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // summary : ZIO simplified unsafeRun brought by unsafeRun | |
| // keywords : scala, zio, unsafeRun | |
| // publish : gist | |
| // authors : David Crosson | |
| // license : Apache License Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) | |
| // id : 02f79443-ac5f-461c-a3f5-fcc7902103b5 | |
| // created-on : 2022-06-26T11:58:21+02:00 | |
| // managed-by : https://github.com/dacr/code-examples-manager | |
| // run-with : scala-cli $file | |
| // --------------------- | |
| //> using scala "3.4.2" | |
| //> using dep "fr.janalyse::zio-worksheet:2.1.3.0" | |
| // --------------------- | |
| import zio.*, zio.worksheet.* | |
| // -------------------------------------------- | |
| val app = Console.printLine("Hello world !") | |
| app.unsafeRun |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment