The course is also offered to the students of the fields other than those the course is directly associated with.
The capacity limit for the course is 30 student(s).
Current registration and enrolment status: enrolled: 0/30, only registered: 20/30, only registered with preference (fields directly associated with the programme): 18/30
Fields of study the course is directly associated with
there are 17 fields of study the course is directly associated with, display
Students will significantly extend their knowledge of functional programming. At the end of the course, they should be able to solve non-trivial programming problems using Haskell and to be familiar with practical use of this functional language.
The student who finshes this course will be able to:
- write a Haskell program with approximatelly 100 to 200 lines;
- perform analysis and functional decompisition of given problem;
- use supportive tools for Haskell developers such as the Cabal package manager, the Hackage package repository, the HLint linter, and the QuickCheck testing framework;
- describe theoretical functional concepts;
- have an idea about some more advanced functional techniques used in practice.
GHC(i), interpreter commands, compilation of Haskell programs
Control-flow statements, recursion, anonymous functions, higher-order functions, operators for function composition and application.
Modules: Important modules in Haskell 2010, import of modules, writing your own modules.
Support tools, packages, cabal, Haskage.
Typeclasses: Show, Read, numerical typeclasses. Defining new typeclasses.
Data structures: associative lists, records, arrays, implementation of new data structures.
Input and output: file IO, system programming, IO in Haskell in general.
Functors, applicative, monads.
Error handling and exceptions: Maybe, Either, catching and setting of exceptions, proper exception handling.
The course is organized as a series of two-hour seminars wherein topics of application functional programming in practice are presented to students. Apart from that, it is requested to solve five homework assignments regarding the discussed subjects.
In order to successful completion of the course, it is necessary to obtain at least 50 % points from homework assignments. The attendance of seminars is not compulsory, but highly recommended.