Created
April 24, 2015 07:05
-
-
Save vgaltes/cbd9ba33f5039ffb2c4e to your computer and use it in GitHub Desktop.
FSharp FizzBuzz Kata - long if
This file contains hidden or 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
| let fizzBuzz input = | |
| if ( input = 3 || input = 6 || input = 9) then "Fizz" | |
| elif input = 5 then "Buzz" | |
| else input.ToString() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment