| | |
Summary: RHEINISCH-
WESTF¨ALISCHE
TECHNISCHE
HOCHSCHULE
AACHEN
LEHR- UND FORSCHUNGSGEBIET
INFORMATIK 2
RWTH Aachen · D-52056 Aachen · GERMANY
http://www-i2.informatik.rwth-aachen.de/lufgi2
LuFG
Informatik II
Prof. Dr. J¨urgen Giesl
Peter Schneider-Kamp
Stephan Swiderski
Exercises Functional Programming Sheet 8
Solutions will be collected until Wednesday, June 13, 2007 in the exercise course.
Exercises can be solved both in English and in German.
Exercise 1 (2 + 2 + 2 + 1 points)
Consider the following data type declaration for natural numbers:
data Nats = Zero | Succ Nats
|