title: How do I create a list in Oz?
body: <p>I'm trying to create a list in <a href="http://en.wikipedia.org/wiki/Oz_programming_language" rel="noreferrer">Oz</a> using the following code:</p>
  
  <pre><code>local Loop10 Xs in
     proc {Loop10 I}
        Xs={List.append Xs I}
        if I == 10 then skip
        else
       {Browse I}
       {Loop10 I+1}
        end
        {Browse Xs}
     end
  {Loop10 0}
  end
  </code></pre>
  
  <p>The <a href="http://en.wikipedia.org/wiki/Mozart_Programming_System" rel="noreferrer">Mozart compiler</a> shows that the code is accepted, but no Browse window opens up. All I'm trying to do is create a list in Oz. </p>
  
  <p>What's wrong with the code?</p>