Academy PassIntermediate5 lessons57 min

Inductive types and case analysis

Enumerations, constructors with data, and trees. You will define inductive types, write functions over them by pattern matching, and prove properties by exhaustive case analysis and structural induction.