Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active June 28, 2024 23:14
Show Gist options
  • Save dacr/09496362f99005d60bf12da25175cdfc to your computer and use it in GitHub Desktop.
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/5e59739e854d35a34793cf9ee07df9be147b3bcc
// 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.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