title: Why "do...while" does not exist in F#
body: <p>I cannot find "do...while..."</p>
  
  <p>I have to code like this:</p>
  
  <pre><code>let bubbleSort a=
      let n = Array.length a
      let mutable swapped = true
      let mutable i = 0
      while swapped do
          swapped &lt;- false
          for j = 0 to n-i-2 do
              if a.[j] &gt; a.[j+1] then
                  let t = a.[j]
                  a.[j] &lt;- a.[j+1]
                  a.[j+1] &lt;- t
                  swapped &lt;- true
          i &lt;- i+1
  </code></pre>
  
  <p>The code is bad without "<strong>do...while</strong>".<br>
  Sadly, "<strong>break/continue</strong>" are also not available.<br></p>