| | |
Summary: RHEINISCH
WESTF ˜ ALISCHE
TECHNISCHE
HOCHSCHULE
AACHEN
LEHR UND FORSCHUNGSGEBIET
INFORMATIK 2
RWTH Aachen · D52056 Aachen · GERMANY
http://wwwi2.informatik.rwthaachen.de/lufgi2
LuFG
Informatik II
Prof. Dr. J˜ urgen Giesl
Peter SchneiderKamp
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
|