A Prelude of Purity, scaling back ZIO

Presentation at ZIO World 2022

Some parts of our applications don't need to be asynchronous or interact with the outside world: it's enough that they are stateful, possibly with the ability to handle failures, context, and logging. Although you can use ZIO 2 or monad transformers for this task, both come with drawbacks. In this presentation, I've introduced ZPure, a data type from ZIO Prelude which lets you scale back on the power of ZIO 2, but with the same high performance, type inference, and ergonomics you expect from ZIO 2 libraries.

Watch the recording:

You can find the slides here