| | |
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 9
Solutions will be collected until Wednesday, June 20, 2007 in the exercise course.
Exercises can be solved both in English and in German.
Exercise 1 ( 2 + 2 + 2 + 2 points)
We define the following algebraic data types and the following functions.
data Nats = Zero | Succ Nats
|