Course Links

Resources

External

This lab will give you practice working with higher order functions in OCaml. As usual, it is designed with instructions contained within comments in the file you will be editing.

To Do

Download files from Moodle at this link. It should give you a zip archive containing two files: assert.ml and filter_transform.ml. As usual, you will not modify assert.ml -- all of your work is contained within filter_transform.ml. Open it in an editor and follow the activities described in the comments. You should write your own tests as you go to ensure that the functions you create are working properly.