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

isEven :: Integer -> Bool
isEven n = n `mod` 2 == 0