Motivation Scala3’s powerful additions enable new (potentially better) ways to think about existing patterns. One such pattern is the handling of potentially missing values, for which the best principled approach has historically been to use the Option monad, which certainly has its merits: Option forces the programmer to consider and deal with the potentially missing case it provides a rich and natural API to do so Nevertheless, with Scala3’s union types and explicit nulls, the union T |...