Skip to main content

same_head

Function same_head 

Source
pub fn same_head(e1: &Expr, e2: &Expr) -> bool
Expand description

Check whether two expressions have the same outermost constructor/head.