Quick Overview: How to implement a function that counts up with every invocation, using A deep dive into implementing lists with mutable fields Textbook: The fields of records can be marked as mutable, providing an alternative to

Refs Ocaml Programming Chapter 7 - Detailed Overview & Context

How to implement a function that counts up with every invocation, using A deep dive into implementing lists with mutable fields Textbook: The fields of records can be marked as mutable, providing an alternative to The second part of a deep dive into implementing lists with mutable fields. Textbook: A notion of "behavioral equality" is at the heart of reasoning about the correctness of functional programs Textbook: ... How to raise exceptions, which are really variants. Textbook:

Examples of pattern matching with lists, records, and tuples. Textbook: HM type inference of `let` expressions led to type schemes, which enabled polymorphism. Add mutability, though, could lead to a ... How to implement a Map ADT with association lists as the rep type Textbook: The semicolon operator is used to sequence imperative commands Textbook: Compilers translate code from one language to another. Interpreters execute code. Virtual machines and just-in-time compilation ... Structural induction can be used to prove the correctness of functions on lists Textbook:

How to implement queues functionally, and how to improve efficiency by using two lists instead of one. Note that the textbook now ...

Photo Gallery

Refs | OCaml Programming | Chapter 7 Video 1
Syntax and Semantics of Refs | OCaml Programming | Chapter 7 Video 2
Arrays Part 1 | OCaml Programming | Chapter 7 Video 9
Implementing a Counter | OCaml Programming | Chapter 7 Video 5
Arrays Part 2 | OCaml Programming | Chapter 7 Video 10
Mutable Singly Linked Lists Part 1 | OCaml Programming | Chapter 7 Video 7
Mutable Fields | OCaml Programming | Chapter 7 Video 6
Aliasing | OCaml Programming | Chapter 7 Video 4
Mutable Singly Linked Lists Part 2 | OCaml Programming | Chapter 7 Video 8
Equality of Expressions | OCaml Programming | Chapter 6 Video 22
Exceptions | OCaml Programming | Chapter 3 Video 21
Pattern Matching | OCaml Programming | Chapter 3 Video 7
Sponsored
Sponsored
View Main Result
Sponsored
Sponsored