Course "Introduction to Functional Programming" SS 2018

This course is mandatory for BSc Computer Science.

Students of other curricula may choose this course; please check your curriculum.

Team

  • Lecturer: PD. Dr. Stefan Bosse
  • Lab assistant: Msc. Marcel Heinz <ed.znelbok-inu|znieh#ed.znelbok-inu|znieh>
  • Assignment assistant: Kevin Klein <ed.znelbok-inu|nielkk#ed.znelbok-inu|nielkk>

Synopsis and format

See the official (timeless) synopsis for this module in the curriculum. The following text is closely tied to the specific edition. See the general course site for additional material, e.g., pointers to applicable textbooks for those interested. The course introduces the functional programming paradigm with the Haskell programming language as the primary language throughout the course. The course covers basics of functional programming (functions, datatypes, list processing, higher-order functions, etc.), functional design of data structures and algorithms, more advanced, mathematically influenced concepts (such as monoids, monads, and functors), selected programming techniques around data processing (e.g., generic programming) and basic software engineering methods for functional programs (e.g., modularization, documentation, testing, and packaging).


Links


Schedule


Assignments

The assignments are designed to help understand all material covered in the lecture. Also, the assignments support effective preparation for the exam. Issued assignments may be discussed briefly in the lecture or the lab. Solved assignments are discussed in detail in the lab. Each student has a folder at https://svn.uni-koblenz.de/fp/main/fp18/students/username (replace username by your Uni-specific username). The text of the assignment for each option is part of a source file providing a skeleton for the solution. These files are put into the public assignment folder on the date of issue. The folder has to be moved and committed to personal student folders and have to be completed and committed by the deadline. Thus, students are only supposed to modify the given file and not create new files. The assignment assistant checks submitted solutions.

The “topic” in the following table is linked to the assignment, once it is published. Students also find the assignment in their folders, as described above.

No. Date of issue Deadline Topic
1 16.04.2018 23.04.2018 16:00 Basic functions
2 23.04.2018 30.04.2018 16:00 Recursion and Lists
3 07.05.2018 14.05.2018 16:00 Sorting
4 14.05.2018 28.05.2018 16:00 Higher-Order Functions
5 28.05.2018 04.06.2018 16:00 Higher-Order Functions and Tuple Types
6 04.06.2018 11.06.2018 16:00 Data Structures
7 11.06.2018 18.06.2018 16:00 Abstract Data Structures
8 18.06.2018 25.06.2018 16:00 Functor & Foldable
9 25.06.2018 02.07.2018 16:00 Lazy Evaluation
10 02.07.2018 09.07.2018 16:00 Searching and Sorting

Exam admission rules

Students need to pass homework assignments as follows:

  • Admission from previous years is inherited.
  • Students submit individual submissions for the assignments.
  • Submission must arrive by the deadline. Late submissions are not graded.
  • 7 submissions need to receive a score 1 or better.
  • 5 submissions need to receive a score 2.
  • Students need to register for exam via KLIPS.

Scores: Missing or useless or late submissions receive score 0. Submissions which are essentially correct and complete and meet essentially all additional software engineering requirements (e.g., regarding testing), modulo smaller problems, receive score 2. Submissions which show the noteworthy beginning of a solution in a proper manner but are definitely incorrect or incomplete or violate software engineering requirements receive score 1.

Relation between lecture, assignments, and exam: The topics of the assignments, which are directly inherited from the topics for the lectures, define directly the topics for the exam. There is going to be 9 tasks in the exam, one task per lecture/assignment topic. Each exam task received 0-2 points.