Professor Neil Ghani
Functional Programming 2013/14
- Lecture Slides
- Other sources of information on Haskell are Graham Hutton's book
and Simon Thompson's book. While I am not following anyone apart from
myself, I am teaching a standard functional programming course so
these books will cover much the same material. But, there is no
learning like doing exercises so my advice is to write Haskell code,
then write some more, and then some more. Write Haskell code until it
starts coming out of your ears.
Coursework You may work in groups of upto 3 and you should
be ready to demonstrate your code at the beginnng of each lab
session. Half of the marks are given for correctness amd half of the marks will be given for SMALL comments explaining why your code is correct.
- Please answer the questions contained in prac1.pdf . Edit your answers into Prac1.hs . You will need a file called
Quilt.hs but you should not edit this file. This will be marked in the labs on Monday 13 October.
- Please answer the questions contained in prac2.pdf . Edit your answers into Prac2.hs . This will be marked in the labs on Monday 20 October.
- Please answer the questions contained in prac3.pdf . Edit your answers into Prac3.hs . This will be marked in the labs on Monday3 November.
- Please answer the questions contained in prac4.pdf . Edit your answers into Prac4.hs . This will be marked in the labs on Monday 10 November.
Past Papers The format of your exam will not be the same as
the exams below as you will not get any essay questions. You will instead
have 4 coding questions and you will be required to answer three of
them. However, the strength of the questions you will be asked will be
similar to the strength of the coding questions in the exams below so feel free to tackle them as you
progress through the course and revise.
[Agda Code file for MSCS Submission] |