4 ms·
Today you learned what a sum type is.
by searealist 2y ago
Today you learned what a sum type is.
- tialaramex 2y agoI already knew what a sum type is. Fortunately I discovered Rust, which actually has proper sum types rather than trying to make do with a tagged union and a whole lot of squinting.