This project is read-only.
1
Vote

Haskell Example on Front Page

description

It doesn't compile, or make sense.
 
Here's a correct version:
 
even 0 = True
even n = odd (n-1)
odd n = not (even n)

comments