This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
CIS194/Lecture 01/scratch/isEven.hs

4 lines
53 B
Haskell
Raw Permalink Normal View History

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