Skip to content

Instantly share code, notes, and snippets.

@dekosuke
Created September 5, 2011 14:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dekosuke/1195137 to your computer and use it in GitHub Desktop.
Save dekosuke/1195137 to your computer and use it in GitHub Desktop.
Haskell FizzBuzz 91bytes
a(?)x=["",show x,"Fizz","Buzz","FizzBuzz"]!!div(x?3+x?5)2
main=mapM(putStrLn.a gcd)[1..100]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment