Media Summary: Additional static checks performed by the compiler on pattern matches: exhaustiveness and unused branches. Textbook: ... A notion of "behavioral equality" is at the heart of reasoning about the correctness of functional programs Textbook: ... The `option` type, which represents optional data. It's a principled way to avoid the plague of `null`. Textbook: ...

Exceptions Ocaml Programming Chapter 3 Video 21 - Detailed Analysis & Overview

Additional static checks performed by the compiler on pattern matches: exhaustiveness and unused branches. Textbook: ... A notion of "behavioral equality" is at the heart of reasoning about the correctness of functional programs Textbook: ... 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: My web page: www.imperial.ac.uk/people/n.sadawi Useful links: ... The formal syntax and semantics of pattern matching. Textbook:

More about using pattern matching with variants. Textbook: How to define a type for binary trees using variants. Textbook:

Photo Gallery

Exceptions | OCaml Programming | Chapter 3 Video 21
Handling Exceptions | OCaml Programming | Chapter 3 Video 22
Static Checking of Pattern Matching | OCaml Programming | Chapter 3 Video 12
Equality of Expressions | OCaml Programming | Chapter 6 Video 22
Options | OCaml Programming | Chapter 3 Video 20
Pattern Matching | OCaml Programming | Chapter 3 Video 7
OCaml Tutorial: Getting started with OCaml. Part 5 - Exceptions and Basic I/O
OCAML Tutorial 20/33: Exception Handling in OCAML
If Expressions | OCaml Programming | Chapter 2 Video 3
Pattern Matching Syntax and Semantics | OCaml Programming | Chapter 3 Video 11
Pattern Matching with Variants Part 2 | OCaml Programming | Chapter 3 Video 15
STOP SWALLOWING EXCEPTIONS 🤮
Sponsored
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

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

Equality of Expressions | OCaml Programming | Chapter 6 Video 22

Equality of Expressions | OCaml Programming | Chapter 6 Video 22

A notion of "behavioral equality" is at the heart of reasoning about the correctness of functional programs 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: ...

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.

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

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

If Expressions | OCaml Programming | Chapter 2 Video 3

If Expressions | OCaml Programming | Chapter 2 Video 3

if-then-else` expressions. 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.

STOP SWALLOWING EXCEPTIONS 🤮

STOP SWALLOWING EXCEPTIONS 🤮

Java

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.