Media Summary: My web page: www.imperial.ac.uk/people/n.sadawi Useful links: ... More about records vs. variants, and how variants can combine "one of" vs "each of" data. Textbook: ... How to define some common operators for function application, including the pipeline operator Textbook: ...
Ocaml Tutorial 17 33 The - Detailed Analysis & Overview
My web page: www.imperial.ac.uk/people/n.sadawi Useful links: ... More about records vs. variants, and how variants can combine "one of" vs "each of" data. Textbook: ... How to define some common operators for function application, including the pipeline operator Textbook: ... How to define the substitution operation for simple expressions, including `if` and `let` Textbook: Comparing the difference between `open` and `include` in modules Textbook: Functors, which is a funny name for an elegant concept: functions on modules Textbook:
How to implement the `fold_left` and `fold_right` functionals on lists. Textbook: HM type inference of `let` expressions led to type schemes, which enabled polymorphism. Add mutability, though, could lead to a ... How to implement `let` expressions, including substitution, in the calculator interpereter Textbook: ... Defining a persistent stack data structure as an