← Back to the overview

INFOFP

Functional programming

Functioneel programmeren

Key facts

Faculty
Science
Starting period
Period 1
EC
7.5 EC
Level
Bachelor (lvl 2)
Timeslot
B
Language
Dutch
Enrolment
Enrolment closed
Period 1: 8 Jun 2026 to 26 Jun 2026
Entry requirements
No entry requirements known All requirements
View in OEAPI

Counts towards

Description

This course introduces functional programming through the programming language Haskell. In contrast with the language C# – introduced in Imperatief/Game/Mobiel programmeren – which is based on statements, organized in methods and classes, functional programming is based entirely on expressions and functions. This shifts the focus from how a program operates to what is does. Concrete topics treated in this course include higher-order functions, parametric and ad-hoc polymorphism (also known as generics and overloading in other programming languages), algebraic data types and pattern matching. These ideas appear not only in Haskell, but in other modern languages such as Scala, Swift or Kotlin. An important part of the course is devoted to reasoning about programs, either by equations or by induction. The language Haskell imposes a strong separation between pure computations and those with side-effects, such as input and output. Monads are introduced to model the idea of sequential computation in a functional language. Similar abstractions such as functors are also part of the contents of this course. Course form - 2 × 2 hours lectures - 1 × 2 hours practicals - 1 × 2 hours group tutorials Attendance is not strictly mandatory (albeit recommended).

Taken from the Cursusplanner (in Dutch), because the lecturer has not filled this in here yet. View in Cursusplanner

Learning outcomes

Learning Goals By the end of the course you will be able to - solve problems using a ‘functional approach’. That is, define what needs to be computed using techniques and concepts such as - recursion, - pattern matching, - composition, - higher order functions, - algebraic data types, - monads, - immutable and persistent data structures, and - laziness. - reason about the correctness and the types of functions. - develop a small, real world game in the functional language Haskell Tests - there is a midterm M which counts for 30% of the grade, - there is a final exam F which counts for the remaining 70% of the grade. Additionally, - there is one large pass/fail assignment that you have to do in pairs, and that can gain you at most 0.4 bonus points P for the process and at most 0.4 bonus points R for the result (see below for details). - there are 3 small pass/fail lab-assignments, out of which you need to pass at least 2. Your final grade will be computed as min(0.3*M + 0.7*F + P + R, 10). To pass the course - the weighted average of the midterm and the final needs to be at least a 5, - you need to pass the large practical assignment, and - you need to pass at least 2 small assignments. To qualify for the retake exam: - your weighted average of the midterm and the final needs to be at least a 4, - you need to pass the large assignment, and - you need to pass at least one small assignment. You cannot retake the large assignment. Test matrix The learning goals are tested in the following manner:

Learning goalMidtermFinalGameSmall practicals
Solve problems using a functional approach, using techniques and concepts such as:
recursion,XXX
pattern matching,XXXX
composition,XXX
higher order functions,XXX
algebraic data types,XXXX
monads,XX
immutable and persistent data structures, andXX
laziness.X
Reason about the correctnessX
and the types of functions.X
develop a small, real world program in the functional language Haskell.X

Taken from the Cursusplanner (in Dutch), because the lecturer has not filled this in here yet. View in Cursusplanner

Assessment

Final result: Compulsory · Weight 100% · ECTS 7,5

Taken from the Cursusplanner (in Dutch), because the lecturer has not filled this in here yet. View in Cursusplanner

Entry requirements and prior knowledge

Entry requirements No information about mandatory entry requirements is known. Prior knowledge Programming skills

Taken from the Cursusplanner (in Dutch), because the lecturer has not filled this in here yet. View in Cursusplanner