Media Summary: The `option` type, which represents optional data. It's a principled way to avoid the plague of `null`. Textbook: ... Examples of pattern matching with lists, records, and tuples. Textbook: Additional static checks performed by the compiler on pattern matches: exhaustiveness and unused branches. Textbook: ...

Exceptions Ocaml Programming Chapter 3 - Detailed Analysis & Overview

The `option` type, which represents optional data. It's a principled way to avoid the plague of `null`. Textbook: ... Examples of pattern matching with lists, records, and tuples. Textbook: Additional static checks performed by the compiler on pattern matches: exhaustiveness and unused branches. Textbook: ... More about records vs. variants, and how variants can combine "one of" vs "each of" data. 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

In this tutorial, I will show the basic ideas of immutable lists (cons lists), as well as polymorphic functions that operate over lists. The tradeoffs between data structure operations that raise My web page: www.imperial.ac.uk/people/n.sadawi Useful links: ...

Photo Gallery

Exceptions | OCaml Programming | Chapter 3 Video 21
Handling Exceptions | OCaml Programming | Chapter 3 Video 22
Options | OCaml Programming | Chapter 3 Video 20
OCaml Tutorial: Getting started with OCaml. Part 5 - Exceptions and Basic I/O
Speedrunning CS3110 - OCaml Programming Book 🐫 (Part 7) - Ch 5.4 - 5.8
Pattern Matching | OCaml Programming | Chapter 3 Video 7
Static Checking of Pattern Matching | OCaml Programming | Chapter 3 Video 12
Algebraic Data Types | OCaml Programming | Chapter 3 Video 17
Pattern Matching with Variants Part 1 | OCaml Programming | Chapter 3 Video 14
Variants | OCaml Programming | Chapter 3 Video 13
OCaml Tutorial: Getting started with OCaml. Part 3 - Lists and Polymorphic Functions
Exceptions vs Options and More Application Operators | OCaml Programming | Chapter 5 Video 8
View Detailed Profile
Exceptions | OCaml Programming | Chapter 3 Video 21

Exceptions | OCaml Programming | Chapter 3 Video 21

How to raise

Handling Exceptions | OCaml Programming | Chapter 3 Video 22

Handling Exceptions | OCaml Programming | Chapter 3 Video 22

How to handle

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

OCaml Tutorial: Getting started with OCaml. Part 5 - Exceptions and Basic I/O

OCaml Tutorial: Getting started with OCaml. Part 5 - Exceptions and Basic I/O

This tutorial gives a quick overview of

Speedrunning CS3110 - OCaml Programming Book 🐫 (Part 7) - Ch 5.4 - 5.8

Speedrunning CS3110 - OCaml Programming Book 🐫 (Part 7) - Ch 5.4 - 5.8

We finish

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.

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 pattern matches: exhaustiveness and unused branches. 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 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

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.

Exceptions vs Options and More Application Operators | OCaml Programming | Chapter 5 Video 8

Exceptions vs Options and More Application Operators | OCaml Programming | Chapter 5 Video 8

The tradeoffs between data structure operations that raise

OCAML Tutorial 20/33: Exception Handling in OCAML

OCAML Tutorial 20/33: Exception Handling in OCAML

My web page: www.imperial.ac.uk/people/n.sadawi Useful links: ...