Course syllabus

Functional Programming
Funktionsprogrammering

EDAN40, 7.5 credits, A (Second Cycle)

Valid for: 2024/25
Faculty: Faculty of Engineering LTH
Decided by: PLED C/D
Date of Decision: 2024-04-16
Effective: 2024-05-08

General Information

Depth of study relative to the degree requirements: Second cycle, in-depth level of the course cannot be classified
Elective mandatory for: D2
Elective for: BME4, C4-pvt, E4-pv, F4, F4-pv, MMSR1, N4, Pi4-pv
Language of instruction: The course will be given in English

Aim

The course gives an insight into how the functional programming often offers a possibility to write shorter and easier-to-understand programs than using the traditional imperative or object-oriented approaches.

Learning outcomes

Knowledge and understanding
For a passing grade the student must

Competences and skills
For a passing grade the student must

Judgement and approach
For a passing grade the student must

Contents

The philosophy of functional languages. The programming language Haskell. Language constructs and idioms. Higher-order functions. Lazy evaluation and infinite data structures. Monads and monadic computations. Polymorphic type systems and type classes. Type analysis and type inference.

Examination details

Grading scale: TH - (U, 3, 4, 5) - (Fail, Three, Four, Five)
Assessment: Written examination. To qualify for the exam students must have completed the assignments. The final grade of the course is based on the result of the written examination.

The examiner, in consultation with Disability Support Services, may deviate from the regular form of examination in order to provide a permanently disabled student with a form of examination equivalent to that of a student without a disability.

Modules
Code: 0113. Name: Assignments.
Credits: 3.5. Grading scale: UG - (U, G). Assessment: To qualify for a passing grade the assignments must be completed.
Code: 0213. Name: Written Examination.
Credits: 4.0. Grading scale: TH - (U, 3, 4, 5). Assessment: To qualify for the exam the assignments must be completed. The final grade of the course is based on the result of the written examination. The module includes: Written examination.

Admission

Admission requirements:

Assumed prior knowledge: FMAA05 Calculus in One Variable and FMAB20 Linear Algebra or FMAA50 Calculus and FMAA55 Mathematics, Linear Algebra or EDAA40 Discrete Structures in Computer Science. Students are expected to have basic understanding of mathematical functions, functional composition and proof by induction.
The number of participants is limited to: No
Kursen överlappar följande kurser: EDA120 EDAF40 EDAF95

Reading list

Contact

Course coordinator: Professor Jacek Malec, Jacek.Malec@cs.lth.se
Course homepage: https://cs.lth.se/edan40