Last active
May 6, 2023 15:39
-
-
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/d1e3651c7d7d1cd087b0b558f7f48299b1028dd0
This file contains 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 NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2) | |
// 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.2.2" | |
//> using dep "fr.janalyse::zio-worksheet:2.0.13.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