Two ZIO, Scala CLI, and Scala 3 examples
If you’d like to get started working with the Scala ZIO functional programming (FP) library, here are two little ZIO 101 and ZIO 102 “Hello, world” examples that you can run with Scala CLI and Scala 3.
FP: ZIO + Scala CLI example: “Hello, world” 101
First, here’s a complete ZIO “Hello, world” example that shows everything you need to get started using ZIO with Scala CLI: