Advertisement
Guest User

How is this overcomplicated?

a guest
Apr 6th, 2020
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. isEven :: Integer -> Bool
  2. isEven n
  3.   | n `mod` 2 == 0 = True
  4.   | otherwise      = False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement