Given students' names along with the grade they are in, create a roster for the school.
In the end, you should be able to:
Note that all our students only have one name (it's a small town, what do you want?), and each student cannot be added more than once to a grade or the roster. If a test attempts to add the same student more than once, your implementation should indicate that this is incorrect.
To complete this exercise you need to implement the struct by defining the data type school and implementing the functions:
Chapter 3 of Notes on Programming SML/NJ discusses the use of signatures and structs.
Sign up to Exercism to learn and master Standard ML with 90 exercises, and real human mentoring, all for free.