Created
May 11, 2015 19:53
-
-
Save bruno-cadorette/0c73bfd153853f97fff2 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
let rec reverse str = | |
let a = Console.ReadLine() | |
if a <> "0" then | |
reverse a | |
printfn "%s" str | |
[<EntryPoint>] | |
let main argv = | |
reverse "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment