title: TCL procedure call with optional parameters
body: <p>There is a TCL script which has multiple procedure definitions with similar name <code>func</code> in different namespaces. Procedures look like this:</p>
  
  <pre><code>proc func {a} {
      puts $a
  }
  </code></pre>
  
  <p>All that kind of procedures have only one argument <code>a</code> . All that kind of procedures are called from one single line in whole script:</p>
  
  <pre><code>func $a
  </code></pre>
  
  <p>I need to create another procedure definition also with similar name <code>func</code> in other namespace. But that procedure will have two parameters. That procedure is also need to be called from the same line that other procedures with same name. Procedure looks like this:</p>
  
  <pre><code>proc func {a b} {
      puts $a
      puts $b
  }
  </code></pre>
  
  <p>I need now to modify the line that calls all that procedures <code>func $a</code> so, that it can call all procedures with one parameter and new procedure which has two parameters. But procedures definitions with one parameter must not be changed. What line that calls all these procedures <code>func $a</code> should look like?</p>