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.
[ Parent
| on HN ]
There are no comments on this comment yet.