Proposed alias for union types

I can confess that the only reason I considered this idea at all (and thus why I started this thread) was because I started noticing this syntax more and more frequently in Python libraries.

It doesn’t seem unusual to me that it hasn’t been thought of until now… that’s just how languages evolve, by cross-breeding and mutating ideas in a larger ecosystem of other languages. And this syntax has only recently started becoming a dominant species.

7 Likes