Media Summary: In this tutorial, I will show the basic ideas of immutable More about records vs. variants, and how variants can combine " How to define some common operators for function application, including the pipeline operator Textbook: ...

Lists Ocaml Programming Chapter 3 Video 1 - Detailed Analysis & Overview

In this tutorial, I will show the basic ideas of immutable More about records vs. variants, and how variants can combine " How to define some common operators for function application, including the pipeline operator Textbook: ... Using pattern matching to access the pieces of a variant. Textbook: A comparison of the cons `::` and append `@` operators. Textbook: The formal syntax and semantics of variants. Textbook:

How to make variants be recursive, and how to parameterize them on other types. Textbook: How to define a type for binary trees using variants. Textbook: The `option` type, which represents optional data. It's a principled way to avoid the plague of `null`. Textbook: ...

Photo Gallery

Lists | OCaml Programming | Chapter 3 Video 1
List Syntax and Semantics | OCaml Programming | Chapter 3 Video 2
OCaml Tutorial: Getting started with OCaml. Part 3 - Lists and Polymorphic Functions
Algebraic Data Types | OCaml Programming | Chapter 3 Video 17
Pattern Matching with Lists | OCaml Programming | Chapter 3 Video 8
Pattern Matching with Variants Part 1 | OCaml Programming | Chapter 3 Video 14
Records and Tuples | OCaml Programming | Chapter 3 Video 3
Cons vs Append | OCaml Programming | Chapter 3 Video 10
Variant Syntax and Semantics | OCaml Programming | Chapter 3 Video 16
Recursive Parameterized Variants | OCaml Programming | Chapter 3 Video 19
Pattern Matching | OCaml Programming | Chapter 3 Video 7
Binary Trees | OCaml Programming | Chapter 3 Video 23
Sponsored
Sponsored
View Detailed Profile
Lists | OCaml Programming | Chapter 3 Video 1

Lists | OCaml Programming | Chapter 3 Video 1

The basics of

List Syntax and Semantics | OCaml Programming | Chapter 3 Video 2

List Syntax and Semantics | OCaml Programming | Chapter 3 Video 2

The formal syntax and semantics of

Sponsored
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

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 "

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

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 variant. Textbook: https://cs3110.github.io/textbook.

Records and Tuples | OCaml Programming | Chapter 3 Video 3

Records and Tuples | OCaml Programming | Chapter 3 Video 3

OCaml

Cons vs Append | OCaml Programming | Chapter 3 Video 10

Cons vs Append | OCaml Programming | Chapter 3 Video 10

A comparison of the cons `::` and append `@` operators. 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 variants. Textbook: https://cs3110.github.io/textbook.

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 | OCaml Programming | Chapter 3 Video 7

Pattern Matching | OCaml Programming | Chapter 3 Video 7

Examples of pattern matching with

Binary Trees | OCaml Programming | Chapter 3 Video 23

Binary Trees | OCaml Programming | Chapter 3 Video 23

How to define a type for binary trees using variants. Textbook: https://cs3110.github.io/textbook.

Options | OCaml Programming | Chapter 3 Video 20

Options | OCaml Programming | Chapter 3 Video 20

The `option` type, which represents optional data. It's a principled way to avoid the plague of `null`. Textbook: ...