Political reality often ignores economic consequences, allowing candidates to make unrealistic promises without accountability. The current dissatisfaction stemming from income inequality and globalization is influencing voter decisions in the U.S. and Europe. This disconnect between politics and economic reality raises concerns about future governance and voter choices.
-
A Very Early History of Algebraic Data Types #
, 1 highlightFor example: Addition over numbers is associative, meaning
a + (b + c) == (a + b) + c. This tells us thatInt + (String + Null)is isomorphic (≅) to(Int + String) + Null: we can convert values between the two types without losing any useful information.A more interesting example is that AlgDTs follow the distributive property
a*(b + c) == a*b + a*c. If we have a value of typeAccount(name: str, contact: (Email + Phone)), we can transform it into a value of typeEmailAccount(name, email) + PhoneAccount(name, number).