title: How to write a proper procedure in Oz?
body: <p>I am very new to Oz, so sorry if this is somewhat basic. The following code, for calculating the area, diameter and circumference of a circle does not work. It throws an error saying "illegal arity in application". I have tried tweaking the code in many different ways, but often end up getting some kind of error. </p>
  
  <p>Here is the code:</p>
  
  <pre><code>local
     Pi Area Diameter
     proc {Circle R}
        Pi = 355/113
        Area = R * R * Pi
        Diameter = R * 2.0
        {Browse Pi Area Diameter}
     end
  in
     {Circle 2}
  end
  </code></pre>
  
  <p>Does anyone know what might be wrong?</p>
  
  <p>Thank you!</p>