Created
May 12, 2014 18:12
-
-
Save joom/5ec14ca663bd966ac543 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sick bro