Content
The course provides an introduction to functional programming, covering both, practical examples using OCaml (a functional language) and theoretical background. Lecture notes are available within the university network and Studia (7.50 Euro). Some typos have been spotted.
Schedule
week | date | topics | slides | sources | exercises | history | |
---|---|---|---|---|---|---|---|
1 | 05.10. | historical overview, OCaml introduction, first steps | pdf (1, 2, 4) | ||||
2 | 12.10. | lists, polymorphism, higher-order functions | pdf (1, 2, 4) | tar.gz | txt | ||
3 | 19.10. | modules, strings | pdf (1, 2, 4) | tar.gz | txt | ||
4 | 09.11. | user-defined types, trees | pdf (1, 2, 4) | tar.gz | txt | ||
5 | 16.11. | lambda-calculus | pdf (1, 2, 4) | tar.gz | txt | ||
6 | 23.11. | lambda calculus, evaluation strategies | pdf (1, 2, 4) | tar.gz | txt | ||
7 | 30.11. | induction, reasoning about functional programs | pdf (1, 2, 4) | ||||
8 | 07.12. | efficiency, tail-recursion | pdf (1, 2, 4) | tar.gz | txt | ||
9 | 14.12. | combinator parsing / functional parsers | pdf (1, 2, 4) | tar.gz | txt | ||
10 | 11.01. | types, type checking, type inference | pdf (1, 2, 4) | ||||
11 | tar.gz | ||||||
12 | lazy evaluation, infinite data structures | pdf (1, 2, 4) | tar.gz | txt | |||
13 | 25.01. | divide and conquer, dynamic programming | chapter | tar.gz | |||
14 | 01.02. | first exam | |||||
15 | 01.03. | second exam | |||||
16 | 30.09. | third exam |
Literature
Amongst other sources the course incorporates material from the following books:- Larry C. Paulson, ML for the working programmer (2nd edition), Cambridge University Press, 1996, ISBN 9780521565431.
- Richard Bird, Introduction to functional programming using Haskell (2nd edition), Prentice Hall Europe, 1998, ISBN 0134843460.
- Anthony J. Field, Functional Programming, Addison-Wesley, 1988, ISBN 0201192497.
- Bruce J. MacLennan, Functional Programming: Practice and theory, Addison-Wesley, 1990, ISBN 0201137445.
- Chris Okasaki, Purely functional data structures, Cambridge University Press, 1999, ISBN 0521663504.
- Fethi Rabhi and Guy Lapalme, Algorithms: A functional programming approach, Addison-Wesley, 1999, ISBN 0201596040.
- Simon Thompson, The craft of functional programming, Addison-Wesley, 1996, ISBN 0201403579.