| Website: | website containing additional information | ||||||||||||||||||
| Course code: | INFGNP | ||||||||||||||||||
| Credits: | 6 ECTS (=4.2 old credit points) | ||||||||||||||||||
| Period: | periode 1 (week 36 t/m 43, dwz 2-9-2002 t/m 25-10-2002; herkansing week 1) | ||||||||||||||||||
| Participants: | up till now 23 subscriptions | ||||||||||||||||||
| Schedule: | Dit is een oud rooster!
| ||||||||||||||||||
| Contents: | Software usually works with structured information; think of Web-browsers and HTML-documents. This structure can be represented by a data type or a DTD (Document Type Definition). If such a type changes, all programs that work on that type have to be changed too, although often the central problem does not change.
In the course on generic programming we will discuss methods with which problems can be formulated and solved for arbitrary data types or DTD's. The result is a generic program. An example of a generic program is a program for pattern matching: finding occurrences of a patterns in a given value. This problem is well known in the domain of strings, but it is equally important for trees or matrices. By specialising to a given type we get a normal, type-specific program. Many design patterns are also instances of generic programs. In the course we will discuss generic programming by means of a number of example problems. You will also see some very basic category theory, which can be used to reason about generic programs. We will also use the programming language Generic Haskell, an extension of Haskell that supports generic programming. We will use the methods in particular on XML related problems. | ||||||||||||||||||
| Literature: | The literature exists of a number of articles that will be distributed during the course. | ||||||||||||||||||
| Course form: | Lectures, exercises that have to be handed in, student presentations. | ||||||||||||||||||
| Exam form: | The course will be graded by means of the student presentation, and the exercises that will have to be handed in. | ||||||||||||||||||
| Minimum effort to qualify for 2nd chance exam: | Om aan de aanvullende toets te mogen meedoen is ontbreken van ten hoogte 1 toetsactiviteit toegestaan. | ||||||||||||||||||
| Description: | We will discuss the following topics.
| ||||||||||||||||||