# Proposed alias for union types

**URL:** https://discourse.julialang.org/t/proposed-alias-for-union-types/108205
**Category:** Internals & Design
**Tags:** question, proposal
**Created:** [December 31, 2023, 1:43pm UTC](https://discourse.julialang.org/t/proposed-alias-for-union-types/108205 "2023-12-31T13:43:56Z")
**Posts on this page:** 1
**Showing post:** 127

<div class="post-metadata">

### Author: ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)
#### Post date: [January 4, 2024, 7:12pm UTC](https://discourse.julialang.org/t/proposed-alias-for-union-types/108205/127 "2024-01-04T19:12:21Z")

</div>

> [@MilesCranmer](#):
>
> This is why I wondered if we should just make a PR about it so we can get the attention of the off-discourse folks.
> 
> Apart from a few who are in strong opposition, I did sense an overall welcoming towards the idea (or a close variant) from a majority of the (self-selected) people in this thread. But I wonder if the majority of Julia veterans (who would have the most say) would also be in opposition or not.

How to advocate for this really depends upon how much you care and how much you time and energy you want to put in. The best way to truly get a complete evaluation would indeed be with a comprehensive pull request that implements the definition you want, complete with tests, news, etc., as well as a concise enumeration of the tradeoffs everyone brought to this thread so it’s easy to weigh the pros and cons. But that takes not-insignificant work… and it’s not guaranteed to _ever_ fully resolve. For example, take the attempts at [underscore anonymous functions](https://github.com/JuliaLang/julia/pull/24990).

If you want a quicker-but-less-definitive go or no-go: If I were you, I’d enumerate pros and cons as best and tersely as I can, drop by #triage on slack or attend a triage meeting, and ask for a quick discussion. The biggest question in my mind is just how “bad” Jeff et al would consider the badness of the `|` punning to be. Just like what happened in Python-land, though, the first reaction from a core person or two might not be a good predictor of what would happen with a more complete PR/proposal.

Language changes aren’t _ever_ driven by pure democratic simple majorities — not even majorities of the committers, not even majorities of the crew on any given triage call. In my experience, the committers listen pretty closely to _any and all_ objections (both from other committers and the community at large), and the status quo prevails in cases where there are not-insignificant objections. So I don’t have a crystal ball, but I’d temper your expectations (and investments) by re-reading your own post there in that light.

---

_[View the full topic](https://discourse.julialang.org/t/proposed-alias-for-union-types/108205)._
