By Alvin Alexander. Last updated: May 24, 2024
A nice thing about using ZIO in the Scala REPL is that it really demonstrates the whole “blueprint” concept. As shown in the example below, after I create the username
variable, the REPL shows that username
is basically just a data structure. Nothing happens at this time other than the creation of that data structure, which can be executed at a later time.