Build a lambda chain by batch-abstracting all FVars in a single pass. Same semantics as `mk_forall` but produces `λ (x : T), body`.
(body: LeanExpr, binders: &[LocalDecl])
| 445 | /// |
| 446 | /// Same semantics as `mk_forall` but produces `λ (x : T), body`. |
| 447 | pub fn mk_lambda(body: LeanExpr, binders: &[LocalDecl]) -> LeanExpr { |
| 448 | mk_binder_chain(body, binders, BinderKind::Lambda) |
| 449 | } |
| 450 | |
| 451 | /// Whether to build forall or lambda binders. |
| 452 | #[derive(Clone, Copy)] |