Skip to content

Instantly share code, notes, and snippets.

@joom
Created May 12, 2014 18:12
Show Gist options
  • Save joom/5ec14ca663bd966ac543 to your computer and use it in GitHub Desktop.
Save joom/5ec14ca663bd966ac543 to your computer and use it in GitHub Desktop.
List.app (fn x => print(
if (x mod 15) = 0 then "FizzBuzz\n" else
if (x mod 3) = 0 then "Fizz\n" else
if (x mod 5) = 0 then "Buzz\n" else
(Int.toString x) ^ "\n")) (tl (List.tabulate(100, (fn x=>x))))
@barca
Copy link

barca commented May 12, 2014

sick bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment