Media Summary: How to define modules with structures Textbook: What looks like mutability in the toplevel is not -- it's really just a consequence of The tradeoffs between data structure operations that raise exceptions vs. returning options, and some application operators that ...
Scope And Opening Ocaml Programming Chapter 5 Video 6 - Detailed Analysis & Overview
How to define modules with structures Textbook: What looks like mutability in the toplevel is not -- it's really just a consequence of The tradeoffs between data structure operations that raise exceptions vs. returning options, and some application operators that ... The `include` statement enables re-use of implementation and interface code as a kind of "smart copy and paste" Textbook: ... How to define some common operators for function application, including the pipeline operator Textbook: ... Defining module types with signatures Textbook:
Using abstract types to achieve encapsulation in data structures Textbook: How to implement the `fold_left` and `fold_right` functionals on lists. Textbook: