26 Oct
2005
26 Oct
'05
6:24 a.m.
Robert Dockins (robdockins@fastmail.fm) wrote:
Try a total rather than a partial function for f. You can just add a default clause to the end, like
f _ = 0
btw, the above definition is in the text of the 4.9 exercise ;) Sincerely, Gour -- Registered Linux User | #278493 GPG Public Key | 8C44EDCD