COMP 212: Functional Programming

Homework Assignments

For the first part of the semester, we will have weekly assignments with both a written and programming part, out on Tuesday and due on Monday night (you can bring the written parts to class on Tuesday). In the second half of the semester, look carefully at the due dates for the assignments, since the lengths are more variable.

Name Date Out Date In Links
1: Basics 10 Sep Tues 15 Sep, in class PDF, code
2: Numbers 16 Sep Mon 21 Sep, 11:59pm programming, hw02.sml, written
3: Lists 23 Sep Mon 28 Sep, 11:59pm problems, hw03.sml, written handin
4: Analysis and Sorting 30 Sep 5 Oct, 11:59pm problems, code, written handin
5: Trees 7 Oct Tues 13 Oct, 11:59pm problem description, written handin, support code, handin file
6: Datatypes Th Oct 15 Fri Oct 23, 5pm written, programming, code, library code,
7: Functions 26 Oct 2 Nov, 11:59pm written, programming, code, library code,
8w: Sequence Analysis 5 Nov 10 Nov, in class written,
8: Barnes-Hut 5 Nov 17 Nov, 11:59pm programming, code, visualizer
9: Modules 18 Nov 23 Nov, 11:59pm programming, code
10: Machine Learning 24 Nov Fri 11 Dec, 11:59pm programming, code, data (big file)

Labs

Name Date Links
Lab 1: Basics 9 Sep handout, lab01.sml
Lab 2: Numbers 16 Sep handout, lab02.sml
Lab 3: Lists 23 Sep handout, lab03.sml
Lab 4: Analysis 30 Sep handout, lab04.sml
Lab 5: Trees 7 Oct handout, lab05.sml
Midterm review 14 Oct
Lab 6: Functions 21 Oct handout, lab06.sml
HW Office Hours 28 Oct
Lab 7: Sequences 4 Nov handout, code, sequence library
Lab 8: Modules 11 Nov handout, code
Lab 9: Functors 18 Nov handout, code
Thanksgiving 25 Nov
Lab 10: TextIO 2 Dec handout lab10.sml
HW Office Hours 9 Dec

Dates for assignments beyond the one currently out are tentative at this point.

Valid CSS! Valid XHTML 1.0 Strict