Skip to content

Instantly share code, notes, and snippets.

@matteosister
Created September 10, 2015 20:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matteosister/9948099bcef6a30c6e48 to your computer and use it in GitHub Desktop.
Save matteosister/9948099bcef6a30c6e48 to your computer and use it in GitHub Desktop.
even :: Int -> Bool
not :: Bool -> Bool
isnoteven :: Int -> Bool
isnoteven = not . even
even(10) -- True
not(True) -- False
isnoteven(9) -- True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment