Skip to content

Instantly share code, notes, and snippets.

@tangentsoft
Created March 27, 2015 22:46
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 tangentsoft/2494341dc23d7ba95f7f to your computer and use it in GitHub Desktop.
Save tangentsoft/2494341dc23d7ba95f7f to your computer and use it in GitHub Desktop.
F# reimplementation of James McCaffrey's C# code here: https://jamesmccaffrey.wordpress.com/2015/03/01/why-i-dont-like-the-f-language/
let tickTock() =
for i = 0 to 10 do
if i % 2 = 0 then
printfn "tick %d" i
else
printfn "tock %d" i
tickTock()
System.Console.ReadLine() |> ignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment