by nequo · 3y ago · 0 comments
What would be the idiomatic way for the function `eval` to provide good error messages in Rust?
What you really probably want is to make this a Result type-returning thing, and then have have `not` be a function of type Value -> Result<Value,ErrType>, and then you can do not(eval(m)) and panic at the top-level.