COMP 212: Functional Programming

Homework Assignments

Homeworks will have both a programming and a written part. The programming parts are due at the times listed below. If a homework is not due at a class meeting time, the written parts are due at your next class meeting afterwards (e.g. if the homework is due Tuesday night, then bring the written part to your lab on Wednesday).

Name Date Out Date In Links
1: Basics 1 Feb Wed 8 Feb, in lab PDF, code
2: Numbers 8 Feb Tu 14 Feb, 11:59pm programming, hw02.sml, written
3: Lists 15 Feb Tu 21 Feb, 11:59pm problems, hw03.sml, written handin
4: Analysis and Sorting 22 Feb Tu 28 Feb, 11:59pm problems, code, written handin
5: Trees 1 Mar Tu 7 Mar, 11:59pm problem description, written handin, support code, handin file
6: Datatypes 9 Mar Wed 29 Mar, 5:30pm written, programming, code, library code
7: Functions 30 Mar Tu 4 Apr, 11:59pm written, programming, code, library code
8w: Sequence Analysis 5 Apr Wed 12 Apr, in lab written
8: Barnes-Hut 6 Apr Tu 18 Apr, 11:59pm programming, code (also need sequence library from lab), visualizer
9: Modules 19 Apr Tu 25 Apr, 11:59pm programming, code
10: Machine Learning 26 Apr Wed 10 May, 11:59pm

Labs

Name Date Links
Lab 1: Basics 1 Feb handout, lab01.sml
Lab 2: Numbers 8 Feb handout, lab02.sml
Lab 3: Lists 15 Feb handout, lab03.sml
Lab 4: Analysis 22 Feb handout, lab04.sml
Lab 5: Trees 1 Mar handout, lab05.sml
Midterm review 8 Mar
Lab 6: Functions 29 Mar handout, lab06.sml
Lab 7: Sequences 5 Apr handout, code, sequence library
Lab 8: Modules 12 Apr handout, code
Lab 9: Functors 19 Apr handout, code
Lab 10: TextIO 26 Apr
HW Office Hours 3 May

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