4 ms·
Algebraic Data Types in Four Languages: Haskell, Scala, Rust, and TypeScript
- sevensor 8y agoAuthor is trying to come to grips with the idea of sum types. Which are great. Unfortunately, the article conflates sum types with algebraic data types in general.