Swift Enums Are “sum” Types. That Makes Them Very Interesting

Algebraic types… seems like the kind of math-y work Haskell programmers
would use. But in reality you don’t need to know type theory or have a
PhD in mathematics to understand them. Algebraic types arent new types. They are simply a new way of thinking
ab… Read more

Similar