CIS194/Lecture 01/scratch/isEven.hs

4 lines
53 B
Haskell
Raw Normal View History

2016-09-22 21:50:31 +00:00
isEven :: Integer -> Bool
isEven n = n `mod` 2 == 0