Closed redradist closed 2 weeks ago
The problem is that this would conflict with alias
being used to setup compile time constants as well, not just types.
alias
is the more general names of the two. It could be confusing, for example, to write type g = 123
(even though Python allows using ints as types, linters aside)
Review Mojo's priorities
What is your request?
In Python 3.12, there is a new use of
type
keyword, Type Aliases. I suggest to alignalias
keyword withtype
in favor oftype
in PythonWhat is your motivation for this change?
Make better interchangeable between Python and Mojo code
Any other details?
No response