![](https://secure.gravatar.com/avatar/18c99a43e727246ef2205ac1a055ebfb.jpg?s=120&d=mm&r=g)
Nov. 8, 2022
5:01 p.m.
It reminds me more of Haskell than C. C type aliases look like `typedef int str;`.
I meant general syntax `<keyword> <identifier> = <value>`, which is absent in python.
Not all type aliases are unions. It's odd to me to privilege unions in this way.
Of course! But `Union` is quite often (at least in my humble experience) the most external one, especially with `Optional` becoming `| None` with PEP 604. Anyway thanks for the feedback.