3 ms·
Not to drag the thread off topic, but this seems like the kind of situation where a version of Haskell's Maybe or Either monads might come in handy, so you coul
by krzysz00 13y ago
Not to drag the thread off topic, but this seems like the kind of situation where a version of Haskell's Maybe or Either monads might come in handy, so you could write:
do
command1
command2
...
and have the failures propagate automatically.