Skip to main content

try_reduce_step

Function try_reduce_step 

Source
pub fn try_reduce_step(expr: &Expr) -> ReductionResult
Expand description

Attempt a single reduction step, returning a ReductionResult.

Unlike count_reduction_steps, this function performs at most one step and clearly indicates whether the expression changed.