DM22, Spring 2005 - Weekly Note 4
Lecture February 21Currying, uncurrying, and partial application. Examples of Haskell programming using high-order functions.
Additional Haskell syntax: list comprehensions, local definitions
( Type classes.
ReadingChapters 9 and 10 (again) in Thompson. Chapter 12 in Thompson. Slides: Introduction to Haskell III (ps.gz, pdf). Matrix example.
RemarksChapter 11 is on general programming methodology, and is not Haskell specific. This (short) chapter is to be read on your own, and will not be covered at lectures.
Lecture February 28 (Expected Contents)Type checking in Haskell. Algebraic types.
ReadingChapters 13 and 14 in Thompson.
Exercises February 24/25Any remaining exercises from last week. Exercises 9.2, 9.4, 9.7, 9.8, 9.9, 9.10, 9.13, 9.14, 10.2, 10.3, 10.6, 10.7, 10.8, and 10.9 in Thompson.
Exercises March 3/4Any remaining exercises from last week. Exercises 11.1, 11.3, 12.3, 12.4, 12.5, 12.6, and 12.10 in Thompson.
Maintained by Rolf Fagerberg (rolf@imada.sdu.dk) | |