#typetheory #algebraicdatatypes #logic Access exclusive content on Patreon: Programmers use types to make their job a lot easier. In this video, we construct product types, sum types, and exponential types, and we discover cool connections between types and algebra. No wonder this is called algebraic type theory. And what is Currying? Find out in this video. If you want to learn more, here are some easy-to-follow references: [BART 1] A good introduction to algebraic types, by one of the best teachers you can find on this subject. [SIMPSON 1] This one should speak for itself ;-) 0:00 Introduction 1:36 The product of two types 3:23 The sum of two types 4:30 Using a sum type to return an error 5:23 Exponential types 7:42 The empty or "zero" type 8:25 The unit or "one" type 9:40 Connection between algebra and types 11:17 Taking your inputs one at a time 14:35 Overview of all the connections This video is published under a CC Attribution license ( )











