Media Summary: Distributing a module and its type into two specially-named files results in a Comparing the difference between `open` and `include` in modules Textbook: To use the toplevel effectively with modules, three new directives are needed: ``, ``, and ``. Textbook: ...
Compilation Units Ocaml Programming Chapter 5 Video 13 - Detailed Analysis & Overview
Distributing a module and its type into two specially-named files results in a Comparing the difference between `open` and `include` in modules Textbook: To use the toplevel effectively with modules, three new directives are needed: ``, ``, and ``. Textbook: ... Defining a persistent stack data structure as an Functors, which is a funny name for an elegant concept: functions on modules Textbook: How to implement a function that counts up with every invocation, using references Textbook:
How to implement queues functionally, and how to improve efficiency by using two lists instead of one. Note that the textbook now ... Defining module types with signatures Textbook: The syntax and semantics of module types, especially as used in module type annotations: signatures must match, and ... A dive into the standard library's Map module as an example of a functor Textbook: Definitions of module types for the stack and queue modules developed in previous The `include` statement enables re-use of implementation and interface code as a kind of "smart copy and paste" Textbook: ...