[Haskell] logic problem

Gour list at atmarama.org
Wed Oct 26 02:24:41 EDT 2005

Robert Dockins (robdockins at 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 ;)


Registered Linux User	| #278493
GPG Public Key		| 8C44EDCD

More information about the Haskell mailing list