15-150: Principles of Functional Programming
Exceptions
Key Concepts
- Exceptions: declaring, raising, handling
- Backtracking
- n-Queens
Sample Code This file contains an implementation of n-Queens using a failure continuation in addition to the examples we covered in the lecture.
Some Notes on Exceptions
Some Notes on the n-Queens Problem
Slides from Lecture