Skip to content

Instantly share code, notes, and snippets.

@ymkjp ymkjp/gist:9686839
Last active Aug 29, 2015

Embed
What would you like to do?
FizzBuzz in Haskell
take 100 [if x `mod` 15 == 0 then "FizzBuzz" else if x `mod` 5 == 0 then "Buzz" else if x `mod` 3 == 0 then "Fizz" else show x | x <- [1..]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.