Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- absolute :: Int -> Int
- absolute x
- | x < 0 = 0 - x
- | otherwise = x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement