Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- map (\x -> case (mod x 3, mod x 5) of (0,0) -> "FizzBuzz"; (0,_) -> "Fizz"; (_,0) -> "Buzz"; _ -> show x) [1..100]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement