Media Summary: Defining a persistent stack data structure as an Defining module types with signatures Textbook: Definitions of module types for the stack and queue modules developed in previous videos Textbook: ...
Functors Ocaml Programming Chapter 5 - Detailed Analysis & Overview
Defining a persistent stack data structure as an Defining module types with signatures Textbook: Definitions of module types for the stack and queue modules developed in previous videos Textbook: ... Comparing the difference between `open` and `include` in modules Textbook: The `include` statement enables re-use of implementation and interface code as a kind of "smart copy and paste" Textbook: ... How to implement queues functionally, and how to improve efficiency by using two lists instead of one. Note that the textbook now ...
Functional data structure do not use imperative features, hence are persistent rather than ephemeral Textbook: ... How to define modules with structures Textbook: