Skip to main content

normalize_selective

Function normalize_selective 

Source
pub fn normalize_selective(
    expr: &Expr,
    env: &Environment,
    whitelist: &[Name],
) -> Expr
Expand description

Normalize only constants in the expression that appear in the given whitelist.

Useful when you want selective unfolding of specific definitions.