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 online (only from UIBK network) and printed versions can be bought from the Studia (from Tuesday).
Schedule
week | date | topics | slides | sources | exercises | history |
---|---|---|---|---|---|---|
1 | 07.10. | historical overview, OCaml introduction, first steps | no PS | txt | ||
2 | 14.10. | lists, polymorphism, higher-order functions | txt | |||
3 | 21.10. | modules, strings | tgz | pdf (solution) | txt | |
4 | 28.10. | user-defined types, trees | tgz | pdf (solution) | txt | |
5 | 04.11. | introduction to lambda calculus | pdf (solution) | txt | ||
6 | 11.11. | lambda calculus, evaluation strategies | txt | |||
7 | 18.11. | induction, reasoning about functional programs | pdf (solution) | |||
8 | 25.11. | functional programming in Isabelle/HOL | tgz | |||
9 | 02.12. | efficiency, tail recursion | pdf (solution) | txt | ||
10 | 09.12. | types, type checking, type inference | ||||
11 | 16.12. | implementing type inference | tgz | mid term (extra) | txt | |
12 | 13.01. | lazyness | tgz | pdf (solution) | txt | |
13 | 20.01. | combinator parsing, monads | tgz | |||
14 | 27.01. | (no lecture) | ||||
- | 03.02. | first exam, HS-D, 8:00 | ||||
- | 09.03. | second exam, HS-D, 8:00 | ||||
- | 18.09. | third exam, HS 10, 12:00 |
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.
- Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein, Introduction to algorithms, The MIT Press, 2009, ISBN 9780262533058.
- 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.