Project 0
Index
Complete a series of introductory OCaml exercises.
Your default ENIAC path leads to an out-of-date OCaml. To use the version
we'll be testing with in class (3.10.2), amend your paths:
export PATH=/home1/c/cis341/pub/bin:/home1/c/cis341/pub/usr/local/bin:$PATH
See the official OCaml site
or your package manager for details on downloading OCaml for use on
your local machine.
project0.zip contains all that you
need to get started with this assignment. Extract it to its own directory
then start reading hellocaml.ml.
There are several unit tests in hellocaml.ml; these are run by
the program that is produced by the compiler. If you pass all of these
tests (and correctly change the hellocaml.mli file as eventually
instructed), you will receive full credit for this assignment.
Edit the included readme.txt file, making sure to fill in your
name and email address.
Make sure to clean your project of all .cmi, .cmo, and
executable files. Submit your assignment on ENIAC by switching to the
parent directory of the directory containing your project files and typing:
turnin -c cis341 -p project0 myproject0directory
Verify that you've submitted your files with:
turnin -c cis341 -v -p project0
You can re-submit your work any number of times, but only the last
submission will be counted. New submissions completely overwrite old
submissions— so if you're missing a single file, make sure to
resubmit your entire project. Check the
main course page for information about late policies.