|
|
|
|
|
by amelius
3423 days ago
|
|
Isn't this just pushing the "if" into the called functions? E.g., x = something that might result in an exception
x = f(x)
Now f has to check whether x contains an exception, and it should return that exception in that case, and otherwise it should just apply the function to the argument. |
|