Advanced Functional Programming, Spring 2014 (TDA342 / DIT260)


2014-12-17:     The AFP 2015 course instance homepage is in
2014-08-25:     Re-exam + solutions added.

Staff / contact information Patrik Jansson lecturing


Aim and context

Learning outcomes: (see also the lecture 14 overview from 2012)


The AFP course requires a BSc in Computer Science or equivalent, mathematical maturity, a basic course on Functional Programming (like our version) and a course on Programming Lanuages (like ProgLangTech or ProgPara). Other recommended courses are Logic in CS, Algorithms and Finite automata theory and formal languages.

Important Dates

Mon   Jan 20 : First lecture, 13.15-15.00 in EL43
Wed   Jan 29 : Deadline, Assignment 1 - part 1
Wed   Feb 5 : Deadline, Assignment 1 - part 2
Wed   Feb 12 : Deadline, Assignment 2 - part 1
Sun   Feb 23 : Deadline, Assignment 2 - part 2
Wed   Feb 26 : Deadline, Assignment 3 - part 1
Sun   Mar 9 : Deadline, Assignment 3 - part 2
Tue   Mar 11 : Exam, morning, Johanneberg
Sun   Mar 16 : Final Deadline, Assignments

Course Evaluation

For the purpose of course evaluation each course has student representatives. Their role includes giving the teachers feedback on the course. Notes from the meeting(s).

AFP student representatives 2014: K. Bristav (CID=karlbr), D. Eddeland (danedd), A. Gufler (gufler), F. Levenstam (lfilip), D. Oom (lalti). They can be reached by

Chalmers central instructions on course evaluation.

The final evaluation 2013 recommended a lower pace, fewer invited lectures and more exercise sessions. As a response to this we have spread out the first few lectures' material (from five to six lectures), removed one invited lecture and added one exercise session (Monday study week 7 from 15.15).


Official schedule (TimeEdit). Most of the course weeks have two lectures (always in EL43):
Mon   13.15 - 15.00   EL43
Thu   10.00 - 11.45   EL43

Detailed information on the lectures are here.

Course material

World The course book (nick-named "The World" or "RWH" below) is "Real World Haskell" by Bryan O'Sullivan, Don Stewart, and John Goerzen. Some related papers to read and other material will be provided with the lectures.
These books are all good but presented in order of decreasing relevance for the AFP course.
  • "The Haskell School of Expression" by Paul Hudak ("The School")
  • "The Fun of Programming" edited by Jeremy Gibbons and Oege de Moor ("The Fun")
  • "Programming in Haskell" by Graham Hutton ("The Prog.")
  • "Haskell -- The Craft of Functional Programming" by Simon Thompson ("The Craft")
School Fun Prog Craft