OCaml Lectures

Lectures for the OCaml portion of the class will be written in OCaml. What better way to learn a language than to actually write code in it?

You can find the lectures here:

Practice problems

The best way to learn this material is to look and work through each of these files. Copy and paste the code into your file. Write out examples and try them on the fly. Check what types things have. Question how you could write functions differently. And if nothing else, do the practice problems! My exam questions will be heavily influenced by the practice problems I write, and will give you extra experience struggling with writing functions I don’t provide for you.

Links to other resources