
26 Jan
2010
26 Jan
'10
6:05 a.m.
Hi One hint is that your data type for natural numbers is remarkably like the data type for lists... data List a = [] | a : List a The difference is that List has an element of type 'a' at the non-zero cases. Best wishes Stephen