I cannot find \"do...while...\"
I have to code like this:
let bubbleSort a= let n = Array.length a let mutable swapped = true let mutable i =
It turns out to be quite easy to write a good enough do-while in F# as a higher-order function:
let doWhile f c = f () while c () do f ()