On Thursday, 5 June 2014 at 05:49:17 UTC, deadalnix wrote:
On Thursday, 5 June 2014 at 04:35:18 UTC, Russel Winder via
Digitalmars-d wrote:
I am still trying to work out what Rust conditions really are:
they
language of exceptions is used but there is no stack unwinding.
You may want to look at LISP. This mechanism is not new to Rust
(abeit, it has its specificities, but the idea is the same). It
allow the caller to plug some code where the error handling
take place. It it doesn't, then an exception is thrown.
I proposed conditions for D a while ago, but didn't got much
traction :(
http://web.mit.edu/rust-lang_v0.8/doc/tutorial-conditions.html