title: OCaml variable shadowing?
body: <p>If I have a nested function like such</p>
  
  <pre><code>let test1 (sorted: int list) =
  let test2 (sorted: int list) =
  {blah with sorted} in
  test2 sorted
  </code></pre>
  
  <p>How does the shadowing work? Inside test2 I'll use the parameter passed in (sorted) or will it access the larger scope sorted declared in test1?</p>