Skip to main content

eval

Function eval 

Source
pub fn eval(e: &Expr) -> Option<i32>
Expand description

Eval function evaluates to an Option type. Further demonstrates monadic error handling, which is the only form of error handling in Rust.