Media Summary: How to define some common operators for function application, including the pipeline operator Textbook: ... How to implement the `fold_left` and `fold_right` functionals on lists. Textbook: More about records vs. variants, and how variants can combine "one of" vs "each of" data. Textbook: ...

Pattern Matching Ocaml Programming Chapter - Detailed Analysis & Overview

How to define some common operators for function application, including the pipeline operator Textbook: ... How to implement the `fold_left` and `fold_right` functionals on lists. Textbook: More about records vs. variants, and how variants can combine "one of" vs "each of" data. Textbook: ... How to make variants be recursive, and how to parameterize them on other types. Textbook: Achieving polymorphism for `let` expressions in HM type inference leads to "type schemes", which universally quantify over type ... Additional static checks performed by the compiler on

Defining module types with signatures Textbook: The `function` keyword provides helpful syntactic sugar for

Photo Gallery

Pattern Matching | OCaml Programming | Chapter 3 Video 7
Pattern Matching with Lists | OCaml Programming | Chapter 3 Video 8
Fold | OCaml Programming | Chapter 4 Video 5
Algebraic Data Types | OCaml Programming | Chapter 3 Video 17
Pattern Matching with Variants Part 1 | OCaml Programming | Chapter 3 Video 14
Recursive Parameterized Variants | OCaml Programming | Chapter 3 Video 19
Pattern Matching Syntax and Semantics | OCaml Programming | Chapter 3 Video 11
Let Polymorphism | OCaml Programming | Chapter 9 Video 48
Let Expressions | OCaml Programming | Chapter 2 Video 5
Modular Programming | OCaml Programming | Chapter 5 Video 1
Static Checking of Pattern Matching | OCaml Programming | Chapter 3 Video 12
Module Types and Signatures | OCaml Programming | Chapter 5 Video 9
View Detailed Profile
Pattern Matching | OCaml Programming | Chapter 3 Video 7

Pattern Matching | OCaml Programming | Chapter 3 Video 7

Examples of

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: ...

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.

Algebraic Data Types | OCaml Programming | Chapter 3 Video 17

Algebraic Data Types | OCaml Programming | Chapter 3 Video 17

More about records vs. variants, and how variants can combine "one of" vs "each of" data. Textbook: ...

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

Recursive Parameterized Variants | OCaml Programming | Chapter 3 Video 19

Recursive Parameterized Variants | OCaml Programming | Chapter 3 Video 19

How to make variants be recursive, and how to parameterize them on other types. Textbook: https://cs3110.github.io/textbook.

Pattern Matching Syntax and Semantics | OCaml Programming | Chapter 3 Video 11

Pattern Matching Syntax and Semantics | OCaml Programming | Chapter 3 Video 11

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 ...

Let Expressions | OCaml Programming | Chapter 2 Video 5

Let Expressions | OCaml Programming | Chapter 2 Video 5

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

Modular Programming | OCaml Programming | Chapter 5 Video 1

Modular Programming | OCaml Programming | Chapter 5 Video 1

The concerns and benefits of modular

Static Checking of Pattern Matching | OCaml Programming | Chapter 3 Video 12

Static Checking of Pattern Matching | OCaml Programming | Chapter 3 Video 12

Additional static checks performed by the compiler on

Module Types and Signatures | OCaml Programming | Chapter 5 Video 9

Module Types and Signatures | OCaml Programming | Chapter 5 Video 9

Defining module types with signatures Textbook: https://cs3110.github.io/textbook.

The Function Keyword | OCaml Programming | Chapter 3 Video 9

The Function Keyword | OCaml Programming | Chapter 3 Video 9

The `function` keyword provides helpful syntactic sugar for