in this theatre: 2017/18 Q3
web page will be under construction permanently
questions and other communication
Due to unforseen cirumstanes this course will be an experimental tryout again, so
any remark and criticism is welcomed warmly and easily dealt with by
referring to the experimental character.
webpage should inform you on the course, its materials, duties and
possibilities. So most of it will consist of references and
directives, can't make it much cosier.
course runs in
quartile 3 block E (Tuesday afternoon and Thursday morning).
responsible staff: Jaap
van der Woude, with much appreciated help from Rik van Geldrop,
the former teacher of functional programming courses at the TU/e.
level 3 , 5ects, exam and assignment (70%-30%)
- material: the book of Graham Hutton (2nd edition) and several handouts and papers
- contact hours: Tuesdays 5+6+7+8, partly organized selftuition and exercise sessions.
- exam date: 20180410 09.00
order to define the course content and help you study it
a study guide, with a definition of the subject and material to study
it per week. The guide will grow
is very important to get to grips with the literature mentioned in the
study guide, but it is evenly important to do the exercises. So we have
a host of exercises. The study guide mentiones what exercises are
relevant. Some are in the literature for the subject, but most are from
the reader of 2IA05 the old course in functional programming.
There are solutions for
many of these exercise, but not for all of them. The solutions may be
in dutch, but we assume it doesn't hurt too much since the formulae are
the same. In due time the existing solutions will be made available
are many places to get your fp-knowledge from.
Mr Google will help you,
so do we by presenting a few references here.
Programming in Haskell, 2nd edition (obligatory)
Bird, Thinking functionally with Haskell,
Thompson, Haskell, the craft of functional programming
Hudak, School of expression (slightly old but interesting
for music lovers)
Peyton Jones, Haskell 98 language and libraries (unreadable,
only for reference)
extensive but informative (~600 pages)
world Haskell, url
Lipovaca, Learn you a Haskell for great good, pdf
( too informal and too easy going)
Daume III, yet another Haskell tutorial, pdf
We'll use the functional language Haskell via the Haskell platform.
(Of course you are free, even encouraged, to look at other languages too, like ELM, Clean, SML and what have you more.)
order to work with the software, you have to get it and install it.
The process is described in
mentioned that the proud Mac OS user might want to get 'homebrew' from
type and run in your terminal
install ghc cabal-install
Weekly plan with relevant material (to evolve during the quartile)
A rough sketch of the course plan in week subjects with references to the relevant chapters in the book of Hutton.
More details are mentioned in the study guide.
- a first meet and greet with functional programming and Haskell in particular, (Hutton 1-5)
- recursion ( Hutton 6,7)
- types and classes (Hutton 8), inductive types
- algebra's (handout) and reasoning about programs (Hutton 16)
- lazy programs, coinduction (Hutton 15)
- monads and I/O (Hutton 10,12)
- parsing (Hutton 13), dynamic programming
- (optional enrichment) lambda calulus, logic programming
Material week 1
- Rojas paper on lambda calculus (pdf)
- a note on notation (pdf)
- the prelude (htm)
- sudoku solver (hs, hs, pdf)
Material week 2
- handout on recursion (pdf)
- how to work on lists (pdf)