A usual pattern for CLI application is to run in infinite loop, until user types some quit command. Like, in C language:
while(1){
scanf("%c", &op);
...
else if(op == "q")
break;
}
What would be the pattern for such console application in F# (tried to use tail recursrion, but failed)?