Homework | Provided files | Assigned | Due |
---|---|---|---|
1 | hw1.pdf hw1-imp.zip | 2 Feb | 11 Feb |
2 | hw2.pdf | 16 Feb | 2 Mar |
3 | hw3.pdf | 2 Mar | 11 Mar |
Term paper | term-paper.pdf | 11 Mar | 28 Apr |
4 | hw4.pdf hw4-lam.zip | 23 Mar | 6 Apr |
5 | hw5.pdf | 8 Apr | 27 Apr |
Note: Links to assignment PDFs removed, and you have been emailed a copy of each assignment. Contact the instructor if you need a copy.
Resources
The following are some OCaml resources you may find useful.
- OCaml home page/download (http://caml.inria.fr/ocaml/index.en.html)
- OCaml Tutorial (http://www.ocaml-tutorial.org/)
- OCaml library reference (http://caml.inria.fr/pub/docs/manual-ocaml/libref/)
- ledit (http://pauillac.inria.fr/~ddr/ledit/)
A line editor to allow you to use command history in OCaml's top loop. Build, then execute "ledit ocaml", and you will get a top level where you can press up and down keys to access history. - SML vs. OCaml (http://www.mpi-sws.org/~rossberg/sml-vs-ocaml.html)
In addition, take a look at the CS 51 website, which uses OCaml in the first half of the course. They have a page of OCaml resources, and also lectures 1 and 2 provide a detailed introduction to programming in OCaml.