Skip to main content

reduce_n_steps

Function reduce_n_steps 

Source
pub fn reduce_n_steps(expr: &Expr, n: usize) -> Expr
Expand description

Apply exactly n reduction steps to the expression.

Returns the result after at most n steps. If the expression is already in normal form before n steps, returns early.