Media Summary: More about records vs. variants, and how variants can combine "one of" vs "each of" data. Textbook: ... The formal syntax and semantics of variants. Textbook: How to make variants be recursive, and how to parameterize them on other types. Textbook:

Options Ocaml Programming Chapter 3 Video 20 - Detailed Analysis & Overview

More about records vs. variants, and how variants can combine "one of" vs "each of" data. 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 raise exceptions, which are really variants. Textbook: The formal syntax and semantics of lists. Textbook: Using pattern matching to access the pieces of a variant. Textbook:

Proof by induction of correctness of a function that computes the summation of an integer sequence Textbook: ... Examples of pattern matching with lists, records, and tuples. Textbook: In this tutorial, I will show the basic ideas of immutable lists (cons lists), as well as polymorphic functions that operate over lists. An extended example of developing an ADT. Textbook: The `function` keyword provides helpful syntactic sugar for pattern matching. Textbook: Developing a second implementation of a data abstraction, as an ongoing example of the documentation that implementers need ...

How to handle exceptions with `try` and pattern matching. Textbook: More about using pattern matching with variants. Textbook: Developing an implementation of a data abstraction, as an ongoing example of the documentation that implementers need ... How to define some common operators for function application, including the pipeline operator Textbook: ...

Photo Gallery

Options | OCaml Programming | Chapter 3 Video 20
Record Syntax and Semantics | OCaml Programming | Chapter 3 Video 5
Algebraic Data Types | OCaml Programming | Chapter 3 Video 17
Variant Syntax and Semantics | OCaml Programming | Chapter 3 Video 16
Recursive Parameterized Variants | OCaml Programming | Chapter 3 Video 19
Exceptions | OCaml Programming | Chapter 3 Video 21
List Syntax and Semantics | OCaml Programming | Chapter 3 Video 2
Pattern Matching with Variants Part 1 | OCaml Programming | Chapter 3 Video 14
Example Proof: Summation | OCaml Programming | Chapter 6 Video 25
Pattern Matching | OCaml Programming | Chapter 3 Video 7
Tuple Syntax and Semantics | OCaml Programming | Chapter 3 Video 6
OCaml Tutorial: Getting started with OCaml. Part 3 - Lists and Polymorphic Functions
View Detailed Profile
Options | OCaml Programming | Chapter 3 Video 20

Options | OCaml Programming | Chapter 3 Video 20

The `

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

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

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.

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.

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

Example Proof: Summation | OCaml Programming | Chapter 6 Video 25

Example Proof: Summation | OCaml Programming | Chapter 6 Video 25

Proof by induction of correctness of a function that computes the summation of an integer sequence Textbook: ...

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.

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

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.

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.

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.

Another Implementation of Sets | OCaml Programming | Chapter 6 Video 6

Another Implementation of Sets | OCaml Programming | Chapter 6 Video 6

Developing a second implementation of a data abstraction, as an ongoing example of the documentation that implementers need ...

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.

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.

Implementing Sets as Lists | OCaml Programming | Chapter 6 Video 5

Implementing Sets as Lists | OCaml Programming | Chapter 6 Video 5

Developing an implementation of a data abstraction, as an ongoing example of the documentation that implementers need ...

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