Closed jspahrsummers closed 5 years ago
Putting aside arguments about failing fast vs. failing safe, the ListADT example is a bit weird with the current behavior of returning None.
ListADT
None
The new mypy plugin doesn't consider these to return Optional[…], so this is even more important now.
Optional[…]
Putting aside arguments about failing fast vs. failing safe, the
ListADT
example is a bit weird with the current behavior of returningNone
.