Tentative plan for 02157 Functional Programming (Autumn 2017)

Teacher: Michael R. Hansen.

Textbook: Functional Programming using F#, Michael R. Hansen and Hans Rischel, Cambridge University Press, 2013. (Abbreviated HR.)

Week Date Topic Read Exercises
36   8. Sept. Course introduction
Introduction to functional programming and F#
Lists (brief introduction)
Lecture1.pdf, Lecture1Handout.pdf
HR 1
HR 2.1-2.6
HR 4.1-4.3
Exercises
37   15. Sept. Functions, Basic types and Tuples
Lists, Types, Polymorphism
Lecture2.pdf, Lecture2Handout.pdf
HR 2, HR 3.1-3.3, HR 4.1 - 4.4
  1. HR 2.1, 2.2, 4.3, 4.8, 4.9, 4.12, 4.11
  2. Merge sort. A program to generate random lists is here
38 22. Sept. Company presentations Exercises that are based on old exam questions
39 29. Sept. Programming as a model-based activity HR 3.4-3.7, HR 4 The first mandatory assignment will be released in CampusNet this Friday at 11:30.
It should be submitted under Assignments in CampusNet on Thursday, Oct. 5, 2017.
40 6. Oct. Disjoint union (Tagged values)
Higher-order list functions
HR 3.8-3.11
HR 5.1
41 13. Oct. Collections: Sets and Maps
HR 5.2-5.3 The second mandatory assignment will be released in CampusNet this Friday at 11:30.
It should be submitted under Assignments in CampusNet on Thursday, Oct. 26, 2017.
42 20. Oct. Autumn vacation
43 27. Oct. Finite trees (I)
HR 6
44 3. Nov. Finite trees (II) The third mandatory assignment will be released in CampusNet this Friday at 11:30.
It should be submitted under Assignments in CampusNet on Thursday, Nov. 9, 2017.
45 10. Nov. Efficiency HR 9
46 17. Nov. Sequences HR 11
47 24. Nov. Modules
Selected topic
HR 7 The fourth mandatory assignment will be released in CampusNet this Friday at 11:30.
It should be submitted under Assignments in CampusNet on Thursday, Nov. 30, 2017.
48 1. Dec. To be decided
49 8. Dec. Course evaluation
Selected topic


Michael R. Hansen, September 14, 2017