# Printing an array without element type

**URL:** <https://discourse.julialang.org/t/printing-an-array-without-element-type/6731>\
**Category:** General Usage\
**Created:** [October 27, 2017, 9:38pm UTC](https://discourse.julialang.org/t/printing-an-array-without-element-type/6731 "2017-10-27T21:38:09Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![chakravala](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chakravala/32/6832_2.png) [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Post date:** [October 28, 2017, 10:08am UTC](https://discourse.julialang.org/t/printing-an-array-without-element-type/6731/3 "2017-10-28T10:08:16Z")

</div>

@Tamas_Papp that is basically the type of function I am using in my Dendriform.jl package to print arrays.  
I think if you have a specific need for printing things in a package, it makes sense to just define your own.

Another complaint I had previously is the spaces that have been inserted into the syntax, as I explained here:

> [@Printing of Arrays without spaces](https://discourse.julialang.org/t/printing-of-arrays-without-spaces/6283):
>
> In previous version of Julia, printing an array was done without inserting spaces [8,7,6,5,4,3,2,1] Now in 0.6, it has spaces [8, 7, 6, 5, 4, 3, 2, 1] where can I find the method in Base that I would have to overwrite in my .juliarc.jl in order to modify the printing to be without the spaces? It’s preferred by me since certain matrices I need to print will be aligned more neatly without the spaces.

My solution was to modify the `Base.show_delim_array` function to get rid of the spaces. (not `showarray`)

---

_[View the full topic](https://discourse.julialang.org/t/printing-an-array-without-element-type/6731)._
