News for hackers. Stuff that matters.
Re:Codon: A high-performance Python-like compiler using LLVM by qwefsdf on Friday December 09, 2022 @05:53PM (#33927506)
With type hints you would model this as a Union type, i.e., Union[int, str]. This is perfectly legal with mypy and other Python type checkers.

There are no comments on this comment yet.