Media Summary: My web page: www.imperial.ac.uk/people/n.sadawi Useful links: ... Using pattern matching to access the pieces of a variant. Textbook: How to define some common operators for function application, including the pipeline operator Textbook: ...
Ocaml Tutorial 14 33 Recursive - Detailed Analysis & Overview
My web page: www.imperial.ac.uk/people/n.sadawi Useful links: ... Using pattern matching to access the pieces of a variant. Textbook: How to define some common operators for function application, including the pipeline operator Textbook: ... How to handle exceptions with `try` and pattern matching. Textbook: Application of functions to "too few" of arguments, and syntactic sugar. Textbook: What looks like mutability in the toplevel is not -- it's really just a consequence of scope. Textbook: ...
How to implement the `fold_left` and `fold_right` functionals on lists. Textbook: