Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gabe Schoenbach
- module Functions where
- import Prelude hiding (even)
- --Exercise 4.1
- -- | The even predicate defined as a composition of two sections.
- even :: Integral n => n -> Bool
- even = (== 0) . (`mod` 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement