By Alvin Alexander. Last updated: October 10, 2019
Here’s an example of Union Types in Scala 3 (Dotty). This image comes from this Martin Odersky video.
Here’s an example of Union Types in Scala 3 (Dotty). This image comes from this Martin Odersky video.