Media Summary: More about records vs. variants, and how variants can combine "one of" vs "each of" data. Textbook: ... The formal syntax and semantics of lists. Textbook: Examples of pattern matching with lists, records, and tuples. Textbook:
Options Ocaml Programming Chapter 3 Video 20 - Detailed Analysis & Overview
More about records vs. variants, and how variants can combine "one of" vs "each of" data. Textbook: ... The formal syntax and semantics of lists. Textbook: Examples of pattern matching with lists, records, and tuples. Textbook: How to raise exceptions, which are really variants. Textbook: The formal syntax and semantics of variants. Textbook: How to make variants be recursive, and how to parameterize them on other types. Textbook:
More about using pattern matching with variants. Textbook: In this tutorial, I will show the basic ideas of immutable lists (cons lists), as well as polymorphic functions that operate over lists. The formal syntax and semantics of pattern matching. Textbook: Using pattern matching to access the pieces of a variant. Textbook: