pub fn app(lhs: Term, rhs: Term) -> TermExpand description
Produces an Application of two given Terms without any reduction, consuming them in the
process.
ยงExample
use lambda_calculus::*;
assert_eq!(app(Var(1), Var(2)), App(Box::new((Var(1), Var(2)))));