title: Julia: How to pretty print an array?
body: <pre><code>a= zeros(4,4)
  </code></pre>
  <p>Print <code>a</code> like this</p>
  <pre><code>&gt; 4×4 Array{Float64,2}:
  &gt;  0.0  0.0  0.0  0.0
  &gt;  0.0  0.0  0.0  0.0
  &gt;  0.0  0.0  0.0  0.0
  &gt;  0.0  0.0  0.0  0.0
  </code></pre>
  <p>but <code>println(a)</code> prints like this</p>
  <pre><code>[0.0 0.0 0.0 0.0; 0.0 0.0 0.0 0.0; 0.0 0.0 0.0 0.0; 0.0 0.0 0.0 0.0]
  </code></pre>
  <p>How can I &quot;print&quot; <code>a</code> in the former way within a function? I want it fo debugging purposes.</p>