|
|
|
|
|
by DanWaterworth
2807 days ago
|
|
Python's "with" construct is analogous to the bracket pattern in Haskell that the article is talking about. It also works in the nested case in the presence of exceptions. Furthermore, the issue that Michael has with the bracket pattern in Haskell can also happen in Python. |
|
Also I guess in Haskell there is more expectation that the type system should prevent you from expressing runtime errors