# \#alias

**URL:** https://discourse.julialang.org/tag/alias/1618.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Basic question about type alias](https://discourse.julialang.org/t/basic-question-about-type-alias/130844)

<div class="topic-metadata">

**Author:** [@Nikos\_Gianniotis](https://discourse.julialang.org/u/Nikos_Gianniotis)\
**Replies:** 5\
**Last updated:** [July 18, 2025, 2:40pm UTC](https://discourse.julialang.org/t/basic-question-about-type-alias/130844 "2025-07-18T14:40:50Z")

</div>

For the first time, I defined my own type alias and was surprised by the following behaviour: const VecScalar{T\<:Number} = Tuple{Vector{T}, T} x::VecScalar{Float64} = (\[1.0, 2.0\], 3.0) # works as expected. x::VecScal…

---

## [Pretty printing \`AxisArray\` based type alias](https://discourse.julialang.org/t/pretty-printing-axisarray-based-type-alias/116271)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 0\
**Last updated:** [June 26, 2024, 4:50pm UTC](https://discourse.julialang.org/t/pretty-printing-axisarray-based-type-alias/116271 "2024-06-26T16:50:15Z")

</div>

Hi all, I’m currently using AxisArrays to store array-like data, while giving some sense to the dimension names and with type parameters so that my type remains generic enough. This is super practical, but whenever I pri…
