Assignment 2: Higher-Order Functions (4%)
Due: September 28, 11:59PM
The goal of this project is to increase your familiarity with programming in OCaml and give you more practice with higher order functions and user-defined types. You will implement a program that simulates a database, write a number of small functions that will use higher-order functions operating over a tree structure, and implement an interval scheduling checker.
Your Repository
A private GitLab repository has already been created for you; you do not need to create one. Its name is built from your UMD directory ID:
https://gitlab.cs.umd.edu/cmsc330-mamat/fall2026/student-repos/p2/ocaml-db-tree-<directory-id> |
For example, if your directory ID is alice1:
https://gitlab.cs.umd.edu/cmsc330-mamat/fall2026/student-repos/p2/ocaml-db-tree-alice1 |
You can also find it by signing in to gitlab.cs.umd.edu, where the project will be listed among your projects. Clone it with:
mkdir -p ~/cmsc330 |
cd ~/cmsc330 |
git clone git@gitlab.cs.umd.edu:cmsc330-mamat/fall2026/student-repos/p2/ocaml-db-tree-<directory-id>.git |
If you have not set up your GitLab account and SSH key yet, do that first; see Software.
Getting Help
If you cannot see your repository, if the repository listed on Piazza is wrong, or if you get a permission error when cloning, post on Piazza or come to office hours. Do this as soon as you notice the problem: extension requests caused by not being able to obtain the assignment will be denied.