|Website:||website met extra informatie|
|Periode:||periode 1 (week 36 t/m 45, d.w.z. 2-9-2019 t/m 8-11-2019; herkansing week 2)|
|Deelnemers:||zie Osiris Docent|
|Rooster:||De officiële roosters staan in Osiris|
Note: this course is taught in English.
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.
|Werkvorm:||The load per week is:
|Toetsvorm:||The final grade depends on the two exams and the assignments.
|Inspanningsverplichting voor aanvullende toets:||Om aan de aanvullende toets te mogen meedoen moet de oorspronkelijke uitslag minstens 4 zijn.|