by noelwelsh · 1y ago · 0 comments
A variant is a logical or. A pet is a dog or a cat.
And and or are duals.
Much more in the "Algebraic data types" chapter at https://scalawithcats.com/
Does that answer it?