Sponsored
Sponsored
Media Summary: HM type inference of `let` expressions led to type schemes, which enabled polymorphism. Add mutability, though, could lead to a ... Using pattern matching to access the pieces of a How to implement the `fold_left` and `fold_right` functionals on lists. Textbook:

Recursive Parameterized Variants Ocaml Programming - Detailed Analysis & Overview

HM type inference of `let` expressions led to type schemes, which enabled polymorphism. Add mutability, though, could lead to a ... Using pattern matching to access the pieces of a How to implement the `fold_left` and `fold_right` functionals on lists. Textbook: Achieving polymorphism for `let` expressions in HM type inference leads to "type schemes", which universally quantify over type ... How to define some common operators for function application, including the pipeline operator Textbook: ... How `let` expressions create scope and shadowing. Textbook:

In this tutorial, I will show the basic ideas of immutable lists (cons lists), as well as polymorphic functions that operate over lists.

Photo Gallery

Recursive Parameterized Variants | OCaml Programming | Chapter 3 Video 19
Recursive Functions | OCaml Programming | Chapter 2 Video 12
Inductive Proofs about Recursive Functions | OCaml Programming | Chapter 6 Video 24
Algebraic Data Types | OCaml Programming | Chapter 3 Video 17
The Value Restriction | OCaml Programming | Chapter 9 Video 49
Pattern Matching with Variants Part 1 | OCaml Programming | Chapter 3 Video 14
Variants | OCaml Programming | Chapter 3 Video 13
Fold | OCaml Programming | Chapter 4 Video 5
Variant Syntax and Semantics | OCaml Programming | Chapter 3 Video 16
Let Polymorphism | OCaml Programming | Chapter 9 Video 48
Pattern Matching with Lists | OCaml Programming | Chapter 3 Video 8
Arrays Part 1 | OCaml Programming | Chapter 7 Video 9
View Detailed Profile
Recursive Parameterized Variants | OCaml Programming | Chapter 3 Video 19

Recursive Parameterized Variants | OCaml Programming | Chapter 3 Video 19

How to make

Recursive Functions | OCaml Programming | Chapter 2 Video 12

Recursive Functions | OCaml Programming | Chapter 2 Video 12

How to make functions be

Sponsored
Inductive Proofs about Recursive Functions | OCaml Programming | Chapter 6 Video 24

Inductive Proofs about Recursive Functions | OCaml Programming | Chapter 6 Video 24

Proving the correctness of

Algebraic Data Types | OCaml Programming | Chapter 3 Video 17

Algebraic Data Types | OCaml Programming | Chapter 3 Video 17

More about records vs.

The Value Restriction | OCaml Programming | Chapter 9 Video 49

The Value Restriction | OCaml Programming | Chapter 9 Video 49

HM type inference of `let` expressions led to type schemes, which enabled polymorphism. Add mutability, though, could lead to a ...

Sponsored
Pattern Matching with Variants Part 1 | OCaml Programming | Chapter 3 Video 14

Pattern Matching with Variants Part 1 | OCaml Programming | Chapter 3 Video 14

Using pattern matching to access the pieces of a

Variants | OCaml Programming | Chapter 3 Video 13

Variants | OCaml Programming | Chapter 3 Video 13

Examples of

Fold | OCaml Programming | Chapter 4 Video 5

Fold | OCaml Programming | Chapter 4 Video 5

How to implement the `fold_left` and `fold_right` functionals on lists. Textbook: https://cs3110.github.io/textbook.

Variant Syntax and Semantics | OCaml Programming | Chapter 3 Video 16

Variant Syntax and Semantics | OCaml Programming | Chapter 3 Video 16

The formal syntax and semantics of

Let Polymorphism | OCaml Programming | Chapter 9 Video 48

Let Polymorphism | OCaml Programming | Chapter 9 Video 48

Achieving polymorphism for `let` expressions in HM type inference leads to "type schemes", which universally quantify over type ...

Pattern Matching with Lists | OCaml Programming | Chapter 3 Video 8

Pattern Matching with Lists | OCaml Programming | Chapter 3 Video 8

How to define some common operators for function application, including the pipeline operator Textbook: ...

Arrays Part 1 | OCaml Programming | Chapter 7 Video 9

Arrays Part 1 | OCaml Programming | Chapter 7 Video 9

OCaml

Pattern Matching with Variants Part 2 | OCaml Programming | Chapter 3 Video 15

Pattern Matching with Variants Part 2 | OCaml Programming | Chapter 3 Video 15

More about using pattern matching with

Let Expressions | OCaml Programming | Chapter 2 Video 5

Let Expressions | OCaml Programming | Chapter 2 Video 5

let` expressions Textbook: https://cs3110.github.io/textbook.

Variable Expressions and Scope | OCaml Programming | Chapter 2 Video 6

Variable Expressions and Scope | OCaml Programming | Chapter 2 Video 6

How `let` expressions create scope and shadowing. Textbook: https://cs3110.github.io/textbook.

OCaml Tutorial: Getting started with OCaml. Part 3 - Lists and Polymorphic Functions

OCaml Tutorial: Getting started with OCaml. Part 3 - Lists and Polymorphic Functions

In this tutorial, I will show the basic ideas of immutable lists (cons lists), as well as polymorphic functions that operate over lists.

Related Video Content

Recursion - Wikipedia information

A recursive step — a set of rules that reduces all successive cases toward the base case. For example, the following...

RECURSIVE Definition & Meaning - Merriam-Webster information

May 16, 2026 · The meaning of RECURSIVE is of, relating to, or involving recursion. How to use recursive in a...

Recursive information

Recursive embraces the logical conclusion: the fastest path to superintelligence will be realized by AI that...

Recursive — Definition, Formula & Examples information

Recursive means defining each term in a sequence by referring back to one or more previous terms. Instead of a direct...

Recursion for Beginners: A Beginners Guide To Understanding ... information

Mar 22, 2025 · Recursion is a programming technique where a function calls itself to break a problem down into...

Sponsored