COMP0002: Principles of Programming Solutions to exercises and coursework for the functional programming part of the UCL Computer Science course COMP0002: Principles of Programming