3 ms·
But what if the exception was in your code and not the system call? This is incredibly dangerous. Monads are perfect for this. Really combines the best of bo
by nightski 13y ago
But what if the exception was in your code and not the system call? This is incredibly dangerous.
Monads are perfect for this. Really combines the best of both worlds without all the unspecified/undefined behavior.
- Groxx 13y agoThen it should be a different exception, and if it matters, you should be treating that class of exceptions differently. Sometimes it doesn't matter.
- memracom 13y agoYou could always write Monads in C... http://blog.sigfpe.com/2007/02/monads-in-c-pt-ii.html http://blog.sigfpe.com/2007/02/monads-in-c-pt-ii.html