title: Initialize an Empty Array of Tuples in Julia
body: <p>I can't figure out how to initialize an empty array of tuples. The <a href="http://docs.julialang.org/en/latest/manual/types/#tuple-types">manual</a> says:</p>
  
  <blockquote>
    <p>The type of a tuple of values is the tuple of types of values... Accordingly, a tuple of types can be used anywhere a type is expected.</p>
  </blockquote>
  
  <p>Yet this does not work:</p>
  
  <pre><code>myarray = (Int64,Int64)[]
  </code></pre>
  
  <p>But this does:</p>
  
  <pre><code>Int64[]
  </code></pre>
  
  <p>It would seem a type is expected in front of the empty square brackets, but the tuple type doesn't work. This <code>&lt;type&gt;[]</code> syntax is the only way I can find to get an empty typed Array (other methods seem to produce a bunch of <code>#undef</code> values). Is the only way to do it, and if it is, how can I type the Array with tuples?</p>
  
  <p>BTW, my use case is creating an array of initially indeterminate length and pushing tuples onto it in a loop.</p>