3 ms·
They should also implement a generics/template system. (Barking at the wrong tree intensifies.)
by B1FF_PSUVM 11y ago
They should also implement a generics/template system.
(Barking at the wrong tree intensifies.)
- shangaslammi 11y agoEh? MyPy already implements generics. It would be a pretty useless type system otherwise since you couldn't give precise types to e.g. lists of ints.
- masklinn 11y ago> They should also implement a generics/template system. What are you talking about? MyPy has supported generics since before the 0.1 release: https://github.com/python/mypy/blob/v0.1.0/docs/source/generics.rst https://github.com/python/mypy/blob/v0.1.0/docs/source/gener...
- fermigier 11y agoLink to the docs: http://mypy.readthedocs.io/en/latest/generics.html http://mypy.readthedocs.io/en/latest/generics.html