Caml programming assignment 1

Due: Weds Feb 16th

You are to write several small programs in Caml. Use the this template file which contains the questions and spots for your answers. All you need to do is to write the missing function bodies and verify the tests work. Do not use any mutation (ref, arrays, etc) in your answers; since we have not taught these features yet anyway, you should be fine.

Resources to help you

Before doing the assignment or when you get stuck, review the code examples run in class. It is strongly recommended that you use either OCaIDE in Eclipse or the emacs caml mode. If you want more information to improve your Caml understanding, read and copy/paste the code defined in the Caml manual Part I Chapter 1 and look in the PL Caml page for still more tutorials, Wikis etc. If you have questions, post them on the PL BBoard and/or see the prof/TAs in their office hours.

Submission Method

We will be using Blackboard to submit assignments. You are automatically enrolled in the Blackboard page for the course via the registrar.

You can log in to Blackboard via blackboard.jhu.edu using your JHED ID and password. After logging in you will see a list of courses, hopefully including PL, which you select. If PL is not listed, it means you are not enrolled as far as the registrar is concerned. The assignment submission process involves uploading the files, and it should be fairly self-explanatory.