IB016 Seminar on Functional Programming

Faculty of Informatics
Spring 2019
Extent and Intensity
0/2. 2 credit(s) (plus extra credits for completion). Type of Completion: z (credit).
Teacher(s)
RNDr. Vladimír Štill (lecturer)
RNDr. Martin Ukrop (lecturer)
Bc. Adam Matoušek (assistant)
Supervisor
prof. RNDr. Mojmír Křetínský, CSc.
Department of Computer Science - Faculty of Informatics
Supplier department: Department of Computer Science - Faculty of Informatics
Prerequisites
IB015 Non-Imperative Programming
Pre-requisities for enrolling in the course are to be familiar with Haskell in the scope of the IB015 Non-Imperative Programming course and to have a positive attitude towards functional programming.
Course Enrolment Limitations
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: 0/30, only registered with preference (fields directly associated with the programme): 0/30
Fields of study the course is directly associated with
there are 17 fields of study the course is directly associated with, display
Course objectives
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.
Learning outcomes
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.
Syllabus
  • Advanced syntax, modules, custom type classes, advanced data structures.
  • Package system (Hackage/Stackage), support tools (cabal, HLint, Haddock).
  • Functors, applicative functors, monads.
  • Automatic generation of tests according to program specification (QuickCheck).
  • Input and output in Haskell, processing errors and exceptions (Maybe, Either, exceptions, error states).
  • Monoids, processing of command line options.
  • Evaluation strategies (laziness vs. strictness).
  • Context-aware traversal of data structures (Zippers, Lens).
  • Monadic parsing (Parsec).
  • Monads for shared writing, shared reading and keeping the state (Writer, Reader, State).
  • Monad transformers (MaybeT, ErrorT).
  • Processing strings and other useful GHC extensions.
  • Haskell in real world projects.
Literature
  • LIPOVAČA, Miran. Learn You a Haskell for Great Good!: A Beginner's Guide. First Edition. San Francisco, CA, USA: No Starch Press, 2011. 400 pp. ISBN 978-1-59327-283-8. URL info
  • O'SULLIVAN, Bryan, John GOERZEN and Don STEWART. Real World Haskell. First Edition. : O'Reilly Media, Inc., 2009. 670 pp. ISBN 978-0-596-51498-3. URL info
Bookmarks
https://is.muni.cz/ln/tag/FI:IB016!
Teaching methods
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 four homework assignments regarding the discussed subjects (implementation + peer-review).
Assessment methods
In order to successful completion of the course, it is necessary to obtain enough points from homework assignments. The attendance of seminars is not compulsory, but highly recommended.
Language of instruction
Czech
Follow-Up Courses
Further Comments
The course is taught annually.
The course is taught: every week.
Teacher's information
https://is.muni.cz/auth/el/1433/jaro2018/IB016/index.qwarp
The course is also listed under the following terms Spring 2010, Spring 2011, Spring 2012, Spring 2013, Spring 2015, Spring 2016, Spring 2017, Spring 2018.
  • Enrolment Statistics (Spring 2019, recent)
  • Permalink: https://is.muni.cz/course/fi/spring2019/IB016

Go to top | Current date and time: 16. 8. 2018 03:12, Week 33 (odd)

Contact: istech(zavináč/atsign)fi(tečka/dot)muni(tečka/dot)cz, Office for Studies, access rights administrators, is-technicians, e-technicians, IT support | Use of cookies | learn more about Information System