OCaml Tutorial for COMP311
The first meeting times were on Tuesday Aug 31.
The next meeting will occur on Thursday Oct 21.
If you wish to attend this tutorial , please let me know by email
The topics that were covered, and their rough order, were:
- let, let rec, let and, let in.
- declarative style
- pattern matching
- types
- persistance
- first-class functions
- higher-order functions (map, fold)
Not covered were
- records
- ocaml stdlib
- ocaml classes
- ocaml modules
The files from the tutorial are:
My notes for the tutorial
Log of the ocaml input from the second tutorial
Example of a large-airty second order function
Merge and merge sort