Media Summary: The `option` type, which represents optional data. It's a principled way to avoid the plague of `null`. Textbook: ... Using pattern matching to access the pieces of a Examples of pattern matching with lists, records, and tuples. Textbook:
Recursive Parameterized Variants Ocaml Programming Chapter 3 Video 19 - Detailed Analysis & Overview
The `option` type, which represents optional data. It's a principled way to avoid the plague of `null`. Textbook: ... Using pattern matching to access the pieces of a Examples of pattern matching with lists, records, and tuples. Textbook: The formal syntax and semantics of lists. Textbook: How to define some common operators for function application, including the pipeline operator Textbook: ... How to handle exceptions with `try` and pattern matching. Textbook:
In this tutorial, I will show the basic ideas of immutable lists (cons lists), as well as polymorphic functions that operate over lists.