by mlevental · 8y ago · 0 comments
example?
map([1, 2, 3], lambda n: n * 2).some_field_that_doesnt_exist
A type checker would find both mistakes very easily, by only using the information from the standard library.
we are working on an extension that will add the inferred types as annotations to your code.
It's not about the concrete types but instead about what protocols it supports.