Skip to content

Instantly share code, notes, and snippets.

@bmaland
Last active December 28, 2015 18:28
Show Gist options
  • Save bmaland/7542840 to your computer and use it in GitHub Desktop.
Save bmaland/7542840 to your computer and use it in GitHub Desktop.
open System
let rec readUntilDone input =
match input with
| "42" -> 0
|_ -> Console.WriteLine(input)
readUntilDone(Console.ReadLine())
[<EntryPoint>]
let main args =
readUntilDone(Console.ReadLine())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment