Media Summary: The semantics of `let` uses a notion of substitution, but, how should that be defined? These examples lend intuition. Textbook: ... Compilers translate code from one language to another. Interpreters execute code. Virtual machines and just-in-time compilation ... HM type inference of `let` expressions led to type schemes, which enabled polymorphism. Add mutability, though, could lead to a ...
Closures Ocaml Programming Chapter 9 Video 27 - Detailed Analysis & Overview
The semantics of `let` uses a notion of substitution, but, how should that be defined? These examples lend intuition. Textbook: ... Compilers translate code from one language to another. Interpreters execute code. Virtual machines and just-in-time compilation ... HM type inference of `let` expressions led to type schemes, which enabled polymorphism. Add mutability, though, could lead to a ... Implementing the type checker for a simple language: constants, variables, and binary operators Textbook: ... The environment-model semantics of functions requires careful attention to scope Textbook: How to infer the type of function applications in HM type inference Textbook:
How to implement `let` expressions, including substitution, in the calculator interpereter Textbook: ... Defining a small-step substitution-model semantics for a core fragment of References make aliasing a possibility. Changes to one reference can cause changes to others. Textbook: ... How to infer the types of constants and names in HM type inference Textbook: How to add inference of `let` expressions to HM type inference. It turns out that the natural, naive idea does not work well because ... How to implement the `fold_left` and `fold_right` functionals on lists. Textbook:
Implementing an environment-model big-step interpreter for a simple language Textbook: The `function` keyword provides helpful syntactic sugar for pattern matching. Textbook: