Skip to main content

substitute

Function substitute 

Source
pub fn substitute(expr: &Expr, name: &str, replacement: &Expr) -> Expr
Expand description

Apply capture-avoiding substitution: replace name with replacement in expr.