Programming Assignment 5
CS 31600
Programming Languages
Spring, 2021

This assignment makes use of the files contained in this zip file. This assignment is due Thursday, April 29.

This assignment is based on Chapter 9 from the course textbook.

In the zip file there is a file hw5.sml that describes the functions that you need to define. Write your definitions for the functions in that file. Be sure to test your solutions to these problems. You should put your test code in a file hw5-my-tests.sml. (Don't put your test code inside of hw5.sml.) You can run your tests by starting the SML repl and then loading your code,

 - use "hw5.sml";

followed by loading your tests,

 - use "hw5-my-tests.sml";

or by loading the tests provided in the zip file,

 - use "hw5-tests.sml";

Make sure that your files hw5.sml and hw5-my-tests.sml begin with a ML comment block of the form

 (*
    CS 31600
    Hw 5
    Your_Name_Here
    Your_Email_Address_Here

    Any other comments that you want to make...
 *)

Turn in a zip file called CS316Hw5Surname.zip (where Surname is your last name) containing your versions of hw5.sml and hw5-my-tests.sml.

This assignment is due Thursday, April 29.