Media Summary: HM type inference of `let` expressions led to type schemes, which enabled polymorphism. Add mutability, though, could lead to a ... Compilers translate code from one language to another. Interpreters execute code. Virtual machines and just-in-time compilation ... The semantics of `let` uses a notion of substitution, but, how should that be defined? These examples lend intuition. Textbook: ...

Closures Ocaml Programming Chapter 9 - Detailed Analysis & Overview

HM type inference of `let` expressions led to type schemes, which enabled polymorphism. Add mutability, though, could lead to a ... Compilers translate code from one language to another. Interpreters execute code. Virtual machines and just-in-time compilation ... The semantics of `let` uses a notion of substitution, but, how should that be defined? These examples lend intuition. Textbook: ... What happens when HM type inference is over? Either a "principal type" is found, or a type error has been detected. Textbook: ... Achieving polymorphism for `let` expressions in HM type inference leads to "type schemes", which universally quantify over type ... How to infer the type of function applications in HM type inference Textbook:

A comparison of big-step vs. small-step semantics, and substitution model vs. environment model Textbook: ... Small- and big-step evaluation relations are themselves related: the big-step is an abstraction of the small-step Textbook: ... The `function` keyword provides helpful syntactic sugar for pattern matching. Textbook:

Photo Gallery

Closures | OCaml Programming | Chapter 9 Video 27
Go Class: 09 Closures
The Value Restriction | OCaml Programming | Chapter 9 Video 49
Arrays Part 1 | OCaml Programming | Chapter 7 Video 9
Compilers and Interpreters | OCaml Programming | Chapter 9 Video 1
Substitution Examples | OCaml Programming | Chapter 9 Video 16
Closures Explained in 100 Seconds // Tricky JavaScript Interview Prep
Finishing Type Inference | OCaml Programming | Chapter 9 Video 46
Let Polymorphism | OCaml Programming | Chapter 9 Video 48
Inference of Applications | OCaml Programming | Chapter 9 Video 42
Recap of All Models | OCaml Programming | Chapter 9 Video 30
Evaluation Relations | OCaml Programming | Chapter 9 Video 14
View Detailed Profile
Closures | OCaml Programming | Chapter 9 Video 27

Closures | OCaml Programming | Chapter 9 Video 27

A "

Go Class: 09 Closures

Go Class: 09 Closures

In this segment I explain

The Value Restriction | OCaml Programming | Chapter 9 Video 49

The Value Restriction | OCaml Programming | Chapter 9 Video 49

HM type inference of `let` expressions led to type schemes, which enabled polymorphism. Add mutability, though, could lead to a ...

Arrays Part 1 | OCaml Programming | Chapter 7 Video 9

Arrays Part 1 | OCaml Programming | Chapter 7 Video 9

OCaml

Compilers and Interpreters | OCaml Programming | Chapter 9 Video 1

Compilers and Interpreters | OCaml Programming | Chapter 9 Video 1

Compilers translate code from one language to another. Interpreters execute code. Virtual machines and just-in-time compilation ...

Substitution Examples | OCaml Programming | Chapter 9 Video 16

Substitution Examples | OCaml Programming | Chapter 9 Video 16

The semantics of `let` uses a notion of substitution, but, how should that be defined? These examples lend intuition. Textbook: ...

Closures Explained in 100 Seconds // Tricky JavaScript Interview Prep

Closures Explained in 100 Seconds // Tricky JavaScript Interview Prep

What is a JavaScript

Finishing Type Inference | OCaml Programming | Chapter 9 Video 46

Finishing Type Inference | OCaml Programming | Chapter 9 Video 46

What happens when HM type inference is over? Either a "principal type" is found, or a type error has been detected. Textbook: ...

Let Polymorphism | OCaml Programming | Chapter 9 Video 48

Let Polymorphism | OCaml Programming | Chapter 9 Video 48

Achieving polymorphism for `let` expressions in HM type inference leads to "type schemes", which universally quantify over type ...

Inference of Applications | OCaml Programming | Chapter 9 Video 42

Inference of Applications | OCaml Programming | Chapter 9 Video 42

How to infer the type of function applications in HM type inference Textbook: https://cs3110.github.io/textbook.

Recap of All Models | OCaml Programming | Chapter 9 Video 30

Recap of All Models | OCaml Programming | Chapter 9 Video 30

A comparison of big-step vs. small-step semantics, and substitution model vs. environment model Textbook: ...

Evaluation Relations | OCaml Programming | Chapter 9 Video 14

Evaluation Relations | OCaml Programming | Chapter 9 Video 14

Small- and big-step evaluation relations are themselves related: the big-step is an abstraction of the small-step 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.