Media Summary: How to define some common operators for function application, including the pipeline operator Textbook: ... More about records vs. variants, and how variants can combine "one of" vs "each of" data. Textbook: ... How to implement the `fold_left` and `fold_right` functionals on lists. Textbook:

Pattern Matching Ocaml Programming Chapter - Detailed Analysis & Overview

How to define some common operators for function application, including the pipeline operator Textbook: ... More about records vs. variants, and how variants can combine "one of" vs "each of" data. Textbook: ... How to implement the `fold_left` and `fold_right` functionals on lists. Textbook: Additional static checks performed by the compiler on The `function` keyword provides helpful syntactic sugar for How to make variants be recursive, and how to parameterize them on other types. Textbook:

Structural induction can be used to prove the correctness of functions on lists Textbook: Structural induction can be used to prove the correctness of functions on trees Textbook: Modifying the parser and AST to incorporate type annotations on `let` bound variables Textbook: Defining a persistent stack data structure as an My web page: www.imperial.ac.uk/people/n.sadawi Useful links: ...

Photo Gallery

Pattern Matching | OCaml Programming | Chapter 3 Video 7
Pattern Matching with Lists | OCaml Programming | Chapter 3 Video 8
Pattern Matching with Variants Part 1 | OCaml Programming | Chapter 3 Video 14
Pattern Matching Syntax and Semantics | OCaml Programming | Chapter 3 Video 11
Algebraic Data Types | OCaml Programming | Chapter 3 Video 17
Fold | OCaml Programming | Chapter 4 Video 5
Pattern Matching with Variants Part 2 | OCaml Programming | Chapter 3 Video 15
Static Checking of Pattern Matching | OCaml Programming | Chapter 3 Video 12
The Function Keyword | OCaml Programming | Chapter 3 Video 9
Recursive Parameterized Variants | OCaml Programming | Chapter 3 Video 19
Let Expressions | OCaml Programming | Chapter 2 Video 5
Induction on Lists | OCaml Programming | Chapter 6 Video 28
Sponsored
Sponsored
View Detailed Profile
Sponsored
Sponsored