University of Toronto - Fall 2004
Department of Computer Science

CSC 324: Principles of Programming Languages

Assignment 3
ML and Typing

This page contains links to all relevant documents for Assignment 3.

Reminder: Please make sure that you write efficient code with good style. You will be deducted marks for poor style and inefficiency. Many of the lessons covered in class about efficiency in Scheme carry forward to ML. I also discussed some aspects of good programming style in the definition of functions in ML and some issues of efficiency were covered in a recent tutorial.
To quote a posting by one of the TAs: The use of pattern matching whenever possible is considered good style. Marks will be deducted for bad style. Make sure that your functions exhaust all possible patterns. If you get a warning "Warning: match nonexhaustive", this is a bad sign: marks will be deducted. You should particularly pay attention to this when you modify your definition of measure in question 5. Please, see clarification and guidelines pages for more details. Cheers, Anya

Solutions

Assignment 3 Solutions: PDF , PS.
The A3 Marking Scheme .

If you wish to have part of your assignment remarked, please see the instructions here.


Specification of the Assignment

Due Date: Monday November 8, 5:00 PM.
- The use of grace days is permitted on this assignment.

Assignment 3 Handout: PDF , PS
Assignment 3 Cover Page: PDF , PS
Assignment 3 Guidelines: HTML (Read me before you start)


It's your responsibility to monitor the newsgroup and the A3 Clarifications Page for any clarifications or corrections.


Back to the main page