Sponsored
Sponsored
Media Summary: In this tutorial, I will show the basic ideas of immutable lists (cons lists), as well as polymorphic functions that operate over lists. 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:

Options Ocaml Programming Chapter 3 - Detailed Analysis & Overview

In this tutorial, I will show the basic ideas of immutable lists (cons lists), as well as polymorphic functions that operate over lists. 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: How to define some common operators for function application, including the pipeline operator Textbook:聽... Examples of pattern matching with lists, records, and tuples. Textbook: An extended example of developing an ADT. Textbook:

How to raise exceptions, which are really variants. Textbook: The formal syntax and semantics of variants. Textbook: Using pattern matching to access the pieces of a variant. Textbook: Examples of variants, which along with records are the primary kind of user-defined data types in The `function` keyword provides helpful syntactic sugar for pattern matching. Textbook: The formal syntax and semantics of pattern matching. Textbook:

More about using pattern matching with variants. Textbook: How to handle exceptions with `try` and pattern matching. Textbook: Learn more at AlexMercedCoder.com Join the developer community at devNursery.com.

Photo Gallery

Options | OCaml Programming | Chapter 3 Video 20
OCaml Tutorial: Getting started with OCaml. Part 3 - Lists and Polymorphic Functions
Algebraic Data Types | OCaml Programming | Chapter 3 Video 17
Recursive Parameterized Variants | OCaml Programming | Chapter 3 Video 19
Pattern Matching with Lists | OCaml Programming | Chapter 3 Video 8
Pattern Matching | OCaml Programming | Chapter 3 Video 7
Records and Tuples | OCaml Programming | Chapter 3 Video 3
An ADT for Pokemon | OCaml Programming | Chapter 3 Video 18
Exceptions | OCaml Programming | Chapter 3 Video 21
Record Syntax and Semantics | OCaml Programming | Chapter 3 Video 5
Variant Syntax and Semantics | OCaml Programming | Chapter 3 Video 16
Pattern Matching with Variants Part 1 | OCaml Programming | Chapter 3 Video 14
View Detailed Profile
Options | OCaml Programming | Chapter 3 Video 20

Options | OCaml Programming | Chapter 3 Video 20

The `

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.

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

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

Pattern Matching | OCaml Programming | Chapter 3 Video 7

Examples of pattern matching with lists, records, and tuples. 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

An ADT for Pokemon | OCaml Programming | Chapter 3 Video 18

An ADT for Pokemon | OCaml Programming | Chapter 3 Video 18

An extended example of developing an ADT. Textbook: https://cs3110.github.io/textbook.

Exceptions | OCaml Programming | Chapter 3 Video 21

Exceptions | OCaml Programming | Chapter 3 Video 21

How to raise exceptions, which are really variants. Textbook: https://cs3110.github.io/textbook.

Record Syntax and Semantics | OCaml Programming | Chapter 3 Video 5

Record Syntax and Semantics | OCaml Programming | Chapter 3 Video 5

Formal syntax and semantics of

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.

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.

Variants | OCaml Programming | Chapter 3 Video 13

Variants | OCaml Programming | Chapter 3 Video 13

Examples of variants, which along with records are the primary kind of user-defined data types in

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

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

Handling Exceptions | OCaml Programming | Chapter 3 Video 22

Handling Exceptions | OCaml Programming | Chapter 3 Video 22

How to handle exceptions with `try` and pattern matching. Textbook: https://cs3110.github.io/textbook.

AM Coder - OCAML in plain english #3 - Intro to OCAML (typing, variants, more functions)

AM Coder - OCAML in plain english #3 - Intro to OCAML (typing, variants, more functions)

Learn more at AlexMercedCoder.com Join the developer community at devNursery.com.

Tuple Syntax and Semantics | OCaml Programming | Chapter 3 Video 6

Tuple Syntax and Semantics | OCaml Programming | Chapter 3 Video 6

Formal syntax and semantics of

Related Video Content

Options: Types, Spreads, and Risk Metrics - Investopedia information

Dec 30, 2025聽路 Options are financial instruments that provide the right, but not the obligation, to buy or sell an...

What Is Options Trading? A Beginner's Overview - Investopedia information

6 days ago聽路 Learn the basics of options trading, what calls and puts are, how options work, and strategies to hedge...

What are options, and how do they work? | Fidelity information

Sep 30, 2024聽路 Options are contracts that give you the right to buy or sell an asset at a specific price by a...

What is Options Trading? How to Trade Options - Investing.com information

Apr 28, 2026聽路 Discover what options trading is, how to trade options and review four core strategies available to...

Today's Stock Option Quotes and Volatility - Barchart.com information

7 minutes ago聽路 Options move fast. With Barchart Premier, so can you. Screen based on profitability or profit, scan...

Sponsored